From 838d1988ad01c3ee85d4e60c5ddff375179a86d9 Mon Sep 17 00:00:00 2001 From: sedum Date: Sun, 18 Sep 2022 23:15:22 +0200 Subject: [PATCH] init show map and routes --- components/Map.vue | 138 +++++++++++++++++++++++++++++++++ components/WhereInput.vue | 2 +- locales/en.json | 3 +- package.json | 2 + pages/event/_slug.vue | 15 +++- server/api/controller/event.js | 10 +-- server/api/models/event.js | 3 +- yarn.lock | 12 ++- 8 files changed, 171 insertions(+), 14 deletions(-) create mode 100644 components/Map.vue diff --git a/components/Map.vue b/components/Map.vue new file mode 100644 index 00000000..69ec5e4d --- /dev/null +++ b/components/Map.vue @@ -0,0 +1,138 @@ + + + + diff --git a/components/WhereInput.vue b/components/WhereInput.vue index 088e39fe..75d41da2 100644 --- a/components/WhereInput.vue +++ b/components/WhereInput.vue @@ -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_geolocation') + v-text-field(ref='details' v-if='settings.allow_geolocation')