From c944ed65e5c6b6511b647b7202fcf228411d68d0 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Fri, 31 May 2024 11:04:51 +0200 Subject: [PATCH] Location card: improve type display --- src/components/LocationCard.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/LocationCard.vue b/src/components/LocationCard.vue index 8493bb22009..1eee4559178 100644 --- a/src/components/LocationCard.vue +++ b/src/components/LocationCard.vue @@ -8,7 +8,7 @@ - {{ location.osm_tag_key }}:{{ location.osm_tag_value }} + {{ getLocationCategory(location) }} @@ -39,6 +39,9 @@ export default { } return this.$route.params.id }, + getLocationCategory(location) { + return utils.getLocationCategory(location) + }, goToLocation(location) { if (this.readonly) { return