changeset 3328:91a3f6835f3d

client: toolbar: moved clickevent to button instead of icon
author Markus Kottlaender <markus@intevation.de>
date Mon, 20 May 2019 13:15:30 +0200
parents 7ab8a176db92
children 4a81accd6182
files client/src/components/toolbar/AvailableFairwayDepth.vue
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/toolbar/AvailableFairwayDepth.vue	Mon May 20 12:41:57 2019 +0200
+++ b/client/src/components/toolbar/AvailableFairwayDepth.vue	Mon May 20 13:15:30 2019 +0200
@@ -1,7 +1,10 @@
 <template>
-  <div class="toolbar-button" v-tooltip.right="label">
+  <div
+    class="toolbar-button"
+    v-tooltip.right="label"
+    @click="$store.commit('application/showFairwayDepth', !showFairwayDepth)"
+  >
     <font-awesome-icon
-      @click="$store.commit('application/showFairwayDepth', !showFairwayDepth)"
       icon="chart-line"
       :class="{ 'text-info': showFairwayDepth }"
     />