Mercurial > gemma
changeset 4141:be34d02cff73
refresh layers with preceding cache invalidation
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 02 Aug 2019 09:42:02 +0200 |
parents | 9864d682ab47 |
children | 2a3bd5f3fc99 |
files | client/src/components/importoverview/ImportOverview.vue client/src/components/map/Map.vue |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/importoverview/ImportOverview.vue Thu Aug 01 19:27:30 2019 +0200 +++ b/client/src/components/importoverview/ImportOverview.vue Fri Aug 02 09:42:02 2019 +0200 @@ -414,6 +414,7 @@ .then(response => { this.loadLogs(); this.$store.commit("imports/setReviewed", []); + this.$store.commit("gauges/deleteNashSutcliffeCache"); this.$store.dispatch("map/refreshLayers"); this.$store.dispatch("imports/loadStagingNotifications"); this.$store.dispatch("imports/loadStretches");
--- a/client/src/components/map/Map.vue Thu Aug 01 19:27:30 2019 +0200 +++ b/client/src/components/map/Map.vue Fri Aug 02 09:42:02 2019 +0200 @@ -291,7 +291,7 @@ }) }); this.layers.get("BOTTLENECKS").setStyle(newStyle); - + this.$store.commit("gauges/deleteNashSutcliffeCache"); this.$store.dispatch("map/refreshLayers"); }) .catch(error => {