From dc2d8006fc827f4fb3eb7988d8f302d3832a8d5b Mon Sep 17 00:00:00 2001 From: lesion Date: Thu, 24 Nov 2022 17:28:18 +0100 Subject: [PATCH] fix osm + debounce --- components/WhereInput.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/WhereInput.vue b/components/WhereInput.vue index 11ca66bb..3174396b 100644 --- a/components/WhereInput.vue +++ b/components/WhereInput.vue @@ -44,7 +44,9 @@ v-row.mb-4 @change='selectAddress' @focus='searchAddress' :items="addressList" - :hint="$t('event.address_description')") + :hint="$t('event.address_description' + (settings.allow_geolocation && '_osm'))") + template(v-slot:message="{message, key}") + span(v-html='message' :key="key") template(v-slot:item="{ item, attrs, on }") v-list-item(v-bind='attrs' v-on='on') v-icon.pr-4(v-text='loadCoordinatesResultIcon(item)') @@ -239,7 +241,7 @@ export default { } this.loading = false } - }, 300) + }, 1000) } }