From 6e182b5de188aff7012a745f50ac655c290dd027 Mon Sep 17 00:00:00 2001 From: sedum Date: Thu, 8 Sep 2022 20:37:20 +0200 Subject: [PATCH] rename gelocation, and move the request to nominatim server side --- components/WhereInput.vue | 17 ++++++++++------- components/admin/Places.vue | 4 ++-- components/admin/Settings.vue | 10 +++++----- locales/en.json | 2 +- server/api/controller/place.js | 17 +++++++---------- server/api/controller/settings.js | 2 +- server/api/index.js | 2 +- store/index.js | 2 +- 8 files changed, 28 insertions(+), 28 deletions(-) diff --git a/components/WhereInput.vue b/components/WhereInput.vue index aea64c3a..088e39fe 100644 --- a/components/WhereInput.vue +++ b/components/WhereInput.vue @@ -30,7 +30,7 @@ v-row :label="$t('common.address')" @change="changeAddress" :value="value.address") - v-combobox.mr-4(ref='detailsView' v-if='settings.allow_geolocalization' + v-combobox.mr-4(ref='detailsView' v-if='settings.allow_geolocation' :prepend-icon='mdiMapSearch' :disabled='disableDetails' @input.native='searchCoordinates' @@ -47,7 +47,7 @@ v-row v-list-item-content(two-line v-if='item') v-list-item-title(v-text='item.display_name') v-list-item-subtitle(v-text='`${item.lat}`+`,`+`${item.lon}`') - v-text-field(ref='details' v-show='false' v-if='settings.allow_geolocalization') + v-text-field(ref='details' v-show='false' v-if='settings.allow_geolocation')