comparison 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
comparison
equal deleted inserted replaced
1479:858af4614209 1480:9b81ac91a43e
1 <template> 1 <template>
2 <div @click="$store.commit('application/showIdentify', !showIdentify)" class="toolbar-button"> 2 <div
3 <font-awesome-icon icon="info" :class="{'text-info': showIdentify}"></font-awesome-icon> 3 @click="$store.commit('application/showIdentify', !showIdentify)"
4 <span :class="['indicator', { show: !showIdentify && (identifiedFeatures.length || currentMeasurement) }]"> 4 class="toolbar-button"
5 {{ badgeCount }} 5 >
6 </span> 6 <font-awesome-icon
7 </div> 7 icon="info"
8 :class="{ 'text-info': showIdentify }"
9 ></font-awesome-icon>
10 <span
11 :class="[
12 'indicator',
13 {
14 show:
15 !showIdentify && (identifiedFeatures.length || currentMeasurement)
16 }
17 ]"
18 >
19 {{ badgeCount }}
20 </span>
21 </div>
8 </template> 22 </template>
9 23
10 <script> 24 <script>
11 /* This is Free Software under GNU Affero General Public License v >= 3.0 25 /* This is Free Software under GNU Affero General Public License v >= 3.0
12 * without warranty, see README.md and license for details. 26 * without warranty, see README.md and license for details.