comparison client/src/components/layers/Layers.vue @ 4122:d85d8de8c28c

refresh layers deletes nashsutcliffecache
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 01 Aug 2019 15:16:58 +0200
parents 9fba1be118e7
children 315474a66589
comparison
equal deleted inserted replaced
4118:b785b6bef578 4122:d85d8de8c28c
84 methods: { 84 methods: {
85 close() { 85 close() {
86 this.$store.commit("application/showLayers", false); 86 this.$store.commit("application/showLayers", false);
87 }, 87 },
88 refreshLayers() { 88 refreshLayers() {
89 this.$store.commit("gauges/deleteNashSutcliffeCache");
89 this.$store.dispatch("map/refreshLayers"); 90 this.$store.dispatch("map/refreshLayers");
90 } 91 }
91 } 92 }
92 }; 93 };
93 </script> 94 </script>