From 9ab7516d3865dc017b3fc2d10467650f6cd7c357 Mon Sep 17 00:00:00 2001 From: clauspeterhuebner Date: Thu, 27 Mar 2025 23:51:18 +0100 Subject: [PATCH] switch gmsPublishLocation to GMS_LOCATION_TYPE_APPROXIMATE --- .../src/components/UserSettings/UserGMSLocationFormat.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/UserSettings/UserGMSLocationFormat.vue b/frontend/src/components/UserSettings/UserGMSLocationFormat.vue index b276a8ab9..6b65ec222 100644 --- a/frontend/src/components/UserSettings/UserGMSLocationFormat.vue +++ b/frontend/src/components/UserSettings/UserGMSLocationFormat.vue @@ -25,7 +25,11 @@ const { t } = useI18n() const store = useStore() const { toastError, toastSuccess } = useAppToast() -const selectedOption = ref(store.state.gmsPublishLocation ?? 'GMS_LOCATION_TYPE_APPROXIMATE') +const selectedOption = ref( + store.state.gmsPublishLocation === 'GMS_LOCATION_TYPE_RANDOM' ? + 'GMS_LOCATION_TYPE_APPROXIMATE' : + store.state.gmsPublishLocation +) const dropdownOptions = [ { label: t('settings.GMS.publish-location.exact'),