changeset 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 be31990a695c
children 84e475938b75
files client/src/components/Maplayer.vue
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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");
   }