From abc8172832365534b1625783fce98493c9e5e8fa Mon Sep 17 00:00:00 2001
From: clauspeterhuebner
Date: Thu, 27 Feb 2025 14:35:18 +0100
Subject: [PATCH] remove random gms-location-type from combobox in user
settings dialog
---
.../src/components/UserSettings/UserGMSLocationFormat.vue | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/frontend/src/components/UserSettings/UserGMSLocationFormat.vue b/frontend/src/components/UserSettings/UserGMSLocationFormat.vue
index 3bae2208d..b276a8ab9 100644
--- a/frontend/src/components/UserSettings/UserGMSLocationFormat.vue
+++ b/frontend/src/components/UserSettings/UserGMSLocationFormat.vue
@@ -25,7 +25,7 @@ const { t } = useI18n()
const store = useStore()
const { toastError, toastSuccess } = useAppToast()
-const selectedOption = ref(store.state.gmsPublishLocation ?? 'GMS_LOCATION_TYPE_RANDOM')
+const selectedOption = ref(store.state.gmsPublishLocation ?? 'GMS_LOCATION_TYPE_APPROXIMATE')
const dropdownOptions = [
{
label: t('settings.GMS.publish-location.exact'),
@@ -35,10 +35,12 @@ const dropdownOptions = [
label: t('settings.GMS.publish-location.approximate'),
value: 'GMS_LOCATION_TYPE_APPROXIMATE',
},
+ /*
{
label: t('settings.GMS.publish-location.random'),
value: 'GMS_LOCATION_TYPE_RANDOM',
},
+ */
]
const selectedOptionLabel = computed(() => {