diff --git a/src/components/LocationCard.vue b/src/components/LocationCard.vue
index 80607b3b2cb..17c5d988ad3 100644
--- a/src/components/LocationCard.vue
+++ b/src/components/LocationCard.vue
@@ -10,9 +10,7 @@
{{ getLocationCategory(location) }}
-
- {{ getLocationOSMID(location) }}
-
+
@@ -26,6 +24,7 @@ import utils from '../utils.js'
export default {
components: {
PriceCountChip: defineAsyncComponent(() => import('../components/PriceCountChip.vue')),
+ LocationOSMIDChip: defineAsyncComponent(() => import('../components/LocationOSMIDChip.vue')),
},
props: {
location: {
@@ -57,9 +56,6 @@ export default {
getLocationCategory(location) {
return utils.getLocationCategory(location)
},
- getLocationOSMID(location) {
- return utils.getLocationOSMID(location)
- },
goToLocation(location) {
if (this.readonly) {
return
diff --git a/src/components/LocationOSMIDChip.vue b/src/components/LocationOSMIDChip.vue
new file mode 100644
index 00000000000..7b31fddac90
--- /dev/null
+++ b/src/components/LocationOSMIDChip.vue
@@ -0,0 +1,23 @@
+
+
+ {{ getLocationOSMID(location) }}
+
+
+
+
diff --git a/src/components/LocationSelectorDialog.vue b/src/components/LocationSelectorDialog.vue
index 29a39767093..4af511c04c3 100644
--- a/src/components/LocationSelectorDialog.vue
+++ b/src/components/LocationSelectorDialog.vue
@@ -60,6 +60,7 @@
{{ getLocationOSMID(location) }}
+
@@ -132,6 +133,7 @@