Browse Source

notify user when new verion is loaded.

tripeur 4 years ago
parent
commit
a112b289bb
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/Evenement.vue

+ 3 - 1
src/views/Evenement.vue

@@ -179,7 +179,9 @@ export default defineComponent({
     loadVersion(version: EvenementVersion) {
       this.fetchPlanningVersions(
         `${API_URL}api/evenements/history/${version.uuid}/content/${version.id}`
-      );
+      ).then(() => {
+        Toast({ html: "Version du " + version.lastModified + " chargée" });
+      });
     },
     toggleModal() {
       this.showModal = !this.showModal;