Merge branch 'bug/fix-relog' into 'master'
Don't keep cached identities query See merge request framasoft/mobilizon!204
This commit is contained in:
commit
a980b9bc89
@ -47,6 +47,7 @@ export async function initializeCurrentActor(apollo: ApolloClient<any>) {
|
||||
|
||||
const result = await apollo.query({
|
||||
query: IDENTITIES,
|
||||
fetchPolicy: 'network-only',
|
||||
});
|
||||
const identities = result.data.identities;
|
||||
if (identities.length < 1) return;
|
||||
|
Loading…
Reference in New Issue
Block a user