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
6fdeac0cc6
|
@ -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 a new issue