Logo-amall

In script-setup, I have this... ``` const user = useUserData() const userRoles = useUserRoles() ``` When I display these values, `user` (eventually) has data, but `userRoles` displays '[]'. I would expect it to get updated with the roles, like `user` does.

Last active 4 months ago

5 replies

10 views

  • MA

    In script-setup, I have this…

    const user = useUserData()
    const userRoles = useUserRoles()
    

    When I display these values, user (eventually) has data, but userRoles displays '[]'. I would expect it to get updated with the roles, like user does.

  • EL

    Sounds like a bug. Would you mind helping us by creating an issue at GitHub for this?

  • EL

    https://github.com/nhost/nhost/issues/new

  • PI

    no need
    https://github.com/nhost/nhost/pull/1158

  • MA

    ok great.

Last active 4 months ago

5 replies

10 views