add geolocalization
This commit is contained in:
@@ -48,6 +48,10 @@ v-container
|
||||
inset
|
||||
:label="$t('admin.recurrent_event_visible')")
|
||||
|
||||
v-switch.mt-1(v-model='allow_geolocalization'
|
||||
inset
|
||||
:label="$t('admin.allow_geolocalization')")
|
||||
|
||||
v-dialog(v-model='showSMTP' destroy-on-close max-width='700px' :fullscreen='$vuetify.breakpoint.xsOnly')
|
||||
SMTP(@close='showSMTP = false')
|
||||
|
||||
@@ -107,6 +111,10 @@ 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 }) }
|
||||
},
|
||||
filteredTimezones () {
|
||||
const current_timezone = moment.tz.guess()
|
||||
tzNames.unshift(current_timezone)
|
||||
|
||||
Reference in New Issue
Block a user