1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-23 08:22:50 +00:00

Merge branch 'bug/fix-relog' into 'master'

Don't keep cached identities query

See merge request framasoft/mobilizon!204
This commit is contained in:
Thomas Citharel 2019-09-26 18:18:33 +02:00
commit 6fdeac0cc6

View file

@ -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;