mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
fix(frontend): fix logout issue (#3374)
* fix(frontend): post migration fixes * fix(frontend): add network-only option so transactions are refetched properly on another user login. * feat(frontend): remove not needed await on mounted --------- Co-authored-by: einhornimmond <dario.rekowski@gmx.de>
This commit is contained in:
parent
71f19d366f
commit
ec964020c4
@ -219,7 +219,7 @@ const {
|
||||
load: useTransactionsQuery,
|
||||
refetch: useRefetchTransactionsQuery,
|
||||
result: transactionQueryResult,
|
||||
} = useLazyQuery(transactionsQuery)
|
||||
} = useLazyQuery(transactionsQuery, {}, { fetchPolicy: 'network-only' })
|
||||
const { mutate: useLogoutMutation } = useMutation(logout)
|
||||
const { t } = useI18n()
|
||||
const { toastError } = useAppToast()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user