diff client/src/components/importoverview/ImportOverview.vue @ 3409:c0f5f62343c9

client: import review: refresh map layers after accepting/declining imports
author Markus Kottlaender <markus@intevation.de>
date Thu, 23 May 2019 14:47:33 +0200
parents 5a3ac4d3dbbb
children b65c2530c680
line wrap: on
line diff
--- a/client/src/components/importoverview/ImportOverview.vue	Thu May 23 13:39:04 2019 +0200
+++ b/client/src/components/importoverview/ImportOverview.vue	Thu May 23 14:47:33 2019 +0200
@@ -388,6 +388,7 @@
               .then(response => {
                 this.loadLogs();
                 this.$store.commit("imports/setReviewed", []);
+                this.$store.dispatch("map/refreshLayers");
                 const messages = response.data
                   .map(x => {
                     if (x.message) return x.message;