diff client/src/components/Maplayer.vue @ 1958:ae4ada3933af

clean state on identify tool on mount of component
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 22 Jan 2019 16:46:32 +0100
parents 52a6e63d5dcc
children f7a35ba9f409
line wrap: on
line diff
--- a/client/src/components/Maplayer.vue	Tue Jan 22 16:30:57 2019 +0100
+++ b/client/src/components/Maplayer.vue	Tue Jan 22 16:46:32 2019 +0100
@@ -328,6 +328,7 @@
 
     // so none is shown
     this.updateBottleneckFilter("does_not_exist", "1999-10-01");
+    this.$store.dispatch("map/disableIdentifyTool");
     this.$store.dispatch("map/enableIdentifyTool");
     this.$store.dispatch("bottlenecks/loadBottlenecks");
   }