rename gelocation, and move the request to nominatim server side

This commit is contained in:
sedum
2022-09-08 20:37:20 +02:00
parent dcdefec6de
commit 6e182b5de1
8 changed files with 28 additions and 28 deletions

View File

@@ -25,7 +25,7 @@ v-container
v-model='place.address'
:placeholder='$t("common.address")')
v-textarea(v-if="settings.allow_geolocalization"
v-textarea(v-if="settings.allow_geolocation"
row-height="15"
:disabled="true"
:label="$t('common.details')"
@@ -83,7 +83,7 @@ export default {
editPlace (item) {
this.place.name = item.name
this.place.address = item.address
if (this.settings.allow_geolocalization) {
if (this.settings.allow_geolocation) {
this.place.details = JSON.parse(item.details)
}
this.place.id = item.id

View File

@@ -48,9 +48,9 @@ v-container
inset
:label="$t('admin.recurrent_event_visible')")
v-switch.mt-1(v-model='allow_geolocalization'
v-switch.mt-1(v-model='allow_geolocation'
inset
:label="$t('admin.allow_geolocalization')")
:label="$t('admin.allow_geolocation')")
v-dialog(v-model='showSMTP' destroy-on-close max-width='700px' :fullscreen='$vuetify.breakpoint.xsOnly')
SMTP(@close='showSMTP = false')
@@ -111,9 +111,9 @@ export default {
get () { return this.settings.recurrent_event_visible },
set (value) { this.setSetting({ key: 'recurrent_event_visible', value }) }
},
allow_geolocalization: {
get () { return this.settings.allow_geolocalization },
set (value) { this.setSetting({ key: 'allow_geolocalization', value }) }
allow_geolocation: {
get () { return this.settings.allow_geolocation },
set (value) { this.setSetting({ key: 'allow_geolocation', value }) }
},
filteredTimezones () {
const current_timezone = moment.tz.guess()