changeset 3070:a54216a0193d

client: identify tool: removed distinct enable flag
author Markus Kottlaender <markus@intevation.de>
date Wed, 17 Apr 2019 10:15:15 +0200
parents 766384d0ed7a
children 53082e5a198a
files client/src/components/toolbar/Toolbar.vue client/src/store/fairway.js
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/toolbar/Toolbar.vue	Wed Apr 17 10:11:40 2019 +0200
+++ b/client/src/components/toolbar/Toolbar.vue	Wed Apr 17 10:15:15 2019 +0200
@@ -142,7 +142,6 @@
         this.$store.commit("map/polygonToolEnabled", false);
         this.$store.commit("map/cutToolEnabled", false);
         this.$store.commit("map/setCurrentMeasurement", null);
-        this.$store.commit("map/identifyToolEnabled", true);
         this.openLayersMaps.forEach(m => {
           m.getLayer("DRAWTOOL")
             .getSource()
--- a/client/src/store/fairway.js	Wed Apr 17 10:11:40 2019 +0200
+++ b/client/src/store/fairway.js	Wed Apr 17 10:15:15 2019 +0200
@@ -134,7 +134,6 @@
   actions: {
     clearSelection({ commit, dispatch, rootState }) {
       dispatch("bottlenecks/setSelectedBottleneck", null, { root: true });
-      commit("map/identifyToolEnabled", true, { root: true });
       commit("clearCurrentProfile");
       commit("map/cutToolEnabled", false, { root: true });
       rootState.map.openLayersMaps.forEach(m => {