Mercurial > gemma
comparison client/src/components/toolbar/AvailableFairwayDepth.vue @ 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 | 9a02b770c2e6 |
children |
comparison
equal
deleted
inserted
replaced
3327:7ab8a176db92 | 3328:91a3f6835f3d |
---|---|
1 <template> | 1 <template> |
2 <div class="toolbar-button" v-tooltip.right="label"> | 2 <div |
3 class="toolbar-button" | |
4 v-tooltip.right="label" | |
5 @click="$store.commit('application/showFairwayDepth', !showFairwayDepth)" | |
6 > | |
3 <font-awesome-icon | 7 <font-awesome-icon |
4 @click="$store.commit('application/showFairwayDepth', !showFairwayDepth)" | |
5 icon="chart-line" | 8 icon="chart-line" |
6 :class="{ 'text-info': showFairwayDepth }" | 9 :class="{ 'text-info': showFairwayDepth }" |
7 /> | 10 /> |
8 </div> | 11 </div> |
9 </template> | 12 </template> |