This makes sure to fetch the workspaces from the api.
We might need to expose an api to list all workspaces. Or maybe enhance the existing /v1/user to return a new field called workspaces that would include all places a user is a member of. If going this route, there must be a active boolean field that dictates the currently active workspace
the active can also be done on the frontend really
This makes sure to fetch the workspaces from the api.
We might need to expose an api to list all workspaces. Or maybe enhance the existing
/v1/user
to return a new field calledworkspaces
that would include all places a user is a member of. If going this route, there must be aactive
boolean field that dictates the currently active workspace