From c7e3141d2c4873711ac7688fc44583fe52ca86fc Mon Sep 17 00:00:00 2001 From: clauspeterhuebner Date: Mon, 24 Mar 2025 22:56:10 +0100 Subject: [PATCH] disable UserSearch-Button on failed gmsAuthentication --- frontend/src/components/Overview/CardUserSearch.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Overview/CardUserSearch.vue b/frontend/src/components/Overview/CardUserSearch.vue index 8b52adbc0..384f651b9 100644 --- a/frontend/src/components/Overview/CardUserSearch.vue +++ b/frontend/src/components/Overview/CardUserSearch.vue @@ -23,7 +23,7 @@
- + {{ $t('card-user-search.allowed.button') }} @@ -54,6 +54,7 @@ const gmsActive = store.state.gmsActive // console.log('gmsActive=', gmsActive) const gmsUserLocationExists = store.state.userLocation !== null // console.log('gmsUserLocationExists=', gmsUserLocationExists) +const isUserSearchDisabled = computed(() => gmsUri.value !== null) const { onResult, result, loading, onError } = useQuery(authenticateGmsUserSearch)