Skip to content

Commit

Permalink
Add display of WOF or GBIF in list.
Browse files Browse the repository at this point in the history
  • Loading branch information
lisasund committed May 18, 2020
1 parent 37a096d commit dd56187
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions georg-ui/src/components/Result.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<v-list-item
three-line
@mouseover="onhove"
@mouseleave="unhove"
:class="resultColor"
Expand All @@ -26,12 +25,10 @@
</v-list-item-subtitle>
</v-list-item-content>
<v-list-item-action @click.prevent="onSelected()">
<v-btn icon id="iconBtn" v-if="!isActive">
<v-icon color="grey lighten-1">mdi-map-marker</v-icon>
</v-btn>
<v-btn icon v-else>
<v-icon color="primary">mdi-map-marker</v-icon>
</v-btn>
<v-icon v-if="!isActive" color="grey lighten-1">mdi-map-marker</v-icon>
<v-icon v-else color="primary">mdi-map-marker</v-icon>
<v-list-item-action-text v-if="isGbif">GBIF</v-list-item-action-text>
<v-list-item-action-text v-else>WOF</v-list-item-action-text>
</v-list-item-action>
</template>
<template v-else>
Expand Down

0 comments on commit dd56187

Please sign in to comment.