fix: graphql collections not syncing on login
This commit is contained in:
@@ -84,6 +84,8 @@ export function initCollections() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const gqlCollSub = graphqlCollections$.subscribe((collections) => {
|
const gqlCollSub = graphqlCollections$.subscribe((collections) => {
|
||||||
|
const currentUser = platform.auth.getCurrentUser()
|
||||||
|
|
||||||
if (
|
if (
|
||||||
loadedGraphqlCollections &&
|
loadedGraphqlCollections &&
|
||||||
currentUser &&
|
currentUser &&
|
||||||
|
|||||||
Reference in New Issue
Block a user