Skip to content
Discussion options

You must be logged in to vote

Figured out how to do it now.
Dynamic Collections used as below.

const collectionsBuilder: EntityCollectionsBuilder = useCallback(async ({ user, authController, dataSource }) => { if (authController.authLoading || !authController.extra || !authController.extra?.visualUser) { console.log("Auth loading"); return [ buildCollection({ path: "loading", properties: {}, //TODO: ... Show some loading screen name: "Loading" }) ]; } else { const visualUser:VisualUser = authController.extra?.visualUser; const userRoles:UserRoles = authController.extra?.roles if (…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by petost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant