Mercurial > gemma
diff client/src/components/map/toolbar/Identify.vue @ 1480:9b81ac91a43e
fix: linting
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 04 Dec 2018 10:02:31 +0100 |
parents | 92d9dec88add |
children |
line wrap: on
line diff
--- a/client/src/components/map/toolbar/Identify.vue Tue Dec 04 09:56:11 2018 +0100 +++ b/client/src/components/map/toolbar/Identify.vue Tue Dec 04 10:02:31 2018 +0100 @@ -1,10 +1,24 @@ <template> - <div @click="$store.commit('application/showIdentify', !showIdentify)" class="toolbar-button"> - <font-awesome-icon icon="info" :class="{'text-info': showIdentify}"></font-awesome-icon> - <span :class="['indicator', { show: !showIdentify && (identifiedFeatures.length || currentMeasurement) }]"> - {{ badgeCount }} - </span> - </div> + <div + @click="$store.commit('application/showIdentify', !showIdentify)" + class="toolbar-button" + > + <font-awesome-icon + icon="info" + :class="{ 'text-info': showIdentify }" + ></font-awesome-icon> + <span + :class="[ + 'indicator', + { + show: + !showIdentify && (identifiedFeatures.length || currentMeasurement) + } + ]" + > + {{ badgeCount }} + </span> + </div> </template> <script>