Skip to content

Commit

Permalink
Location card: improve type display
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed May 31, 2024
1 parent 99b81c6 commit c944ed6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/LocationCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<v-card-text v-if="location">
<PriceCountChip :count="location.price_count" :withLabel="true" />
<v-chip label size="small" density="comfortable" class="mr-1" title="OpenStreetMap tag">
{{ location.osm_tag_key }}:{{ location.osm_tag_value }}
{{ getLocationCategory(location) }}
</v-chip>
</v-card-text>
</v-card>
Expand Down Expand Up @@ -39,6 +39,9 @@ export default {
}
return this.$route.params.id
},
getLocationCategory(location) {
return utils.getLocationCategory(location)
},
goToLocation(location) {
if (this.readonly) {
return
Expand Down

0 comments on commit c944ed6

Please sign in to comment.