Mercurial > gemma
diff client/src/components/toolbar/Statistics.vue @ 3231:2dab20bed284
show_statistics: refac to fairwayavailability
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 10 May 2019 10:28:37 +0200 |
parents | 4f4905b57fcf |
children |
line wrap: on
line diff
--- a/client/src/components/toolbar/Statistics.vue Fri May 10 10:13:32 2019 +0200 +++ b/client/src/components/toolbar/Statistics.vue Fri May 10 10:28:37 2019 +0200 @@ -1,9 +1,9 @@ <template> <div class="toolbar-button" v-tooltip.right="label"> <font-awesome-icon - @click="$store.commit('application/showStatistics', !showStatistics)" + @click="$store.commit('application/showFairwayDepth', !showFairwayDepth)" icon="chart-line" - :class="{ 'text-info': showStatistics }" + :class="{ 'text-info': showFairwayDepth }" /> </div> </template> @@ -27,9 +27,9 @@ export default { computed: { - ...mapState("application", ["showStatistics"]), + ...mapState("application", ["showFairwayDepth"]), label() { - return this.$gettext("Statistics"); + return this.$gettext("Available fairway depth"); } } };