mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
disable UserSearch-Button on failed gmsAuthentication
This commit is contained in:
parent
2ed9460f21
commit
c7e3141d2c
@ -23,7 +23,7 @@
|
||||
<BRow class="my-1">
|
||||
<BCol cols="12">
|
||||
<div class="text-lg-end">
|
||||
<BButton v-if="gmsUserLocationExists" variant="gradido" :href="gmsUri" target="_blank">
|
||||
<BButton v-if="gmsUserLocationExists" :disabled="isUserSearchDisabled" variant="gradido" :href="gmsUri" target="_blank">
|
||||
{{ $t('card-user-search.allowed.button') }}
|
||||
</BButton>
|
||||
<RouterLink v-else to="/settings/extern">
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user