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({
|
const result = await apollo.query({
|
||||||
query: IDENTITIES,
|
query: IDENTITIES,
|
||||||
|
fetchPolicy: 'network-only',
|
||||||
});
|
});
|
||||||
const identities = result.data.identities;
|
const identities = result.data.identities;
|
||||||
if (identities.length < 1) return;
|
if (identities.length < 1) return;
|
||||||
|
|
Loading…
Reference in a new issue