Workspaces
- - ← Back to Settings - +Workspaces
+Manage workspaces and workspace members
Manage your workspaces and collaborate with your team
+ + ← Back to Settings +Create New Workspace
- - {createError !== null && ( -+ {createError} +
+ ) : null} ++ {loadError} +
+Loading workspaces...
+ ) : workspaces.length === 0 ? ( ++ No workspaces yet. Create one to begin. +
+ ) : ( + workspaces.map((workspace) => { + const isSelected = selectedWorkspaceId === workspace.id; + + return ( + + ); + }) + )} +Select a workspace to view members.
+ ) : membersError !== null ? ( ++ {membersError} +
+ ) : isMembersLoading ? ( +Loading members...
+ ) : members.length === 0 ? ( +No members found for this workspace.
+ ) : ( + members.map((member) => ( +{member.user.name ?? "Unnamed User"}
+{member.user.email}
+- Your Workspaces ({isLoading ? "..." : workspacesWithRoles.length}) -
- {loadError !== null ? ( -No workspaces yet
-Create your first workspace to get started
-