fix: graphql collections not syncing on login

This commit is contained in:
Andrew Bastin
2023-02-14 10:29:43 +05:30
parent d15caba4a6
commit cb5fff0310

View File

@@ -84,6 +84,8 @@ export function initCollections() {
})
const gqlCollSub = graphqlCollections$.subscribe((collections) => {
const currentUser = platform.auth.getCurrentUser()
if (
loadedGraphqlCollections &&
currentUser &&