+
- {/* Workspace Dropdown */}
-
}
- placement="bottom-start"
- style="new"
- visible={showWorkspaceDropdown}
- onClickOutside={() => setShowWorkspaceDropdown(false)}
- >
- {sortedWorkspaces.map((workspace) => {
- const isActive = workspace.uid === activeWorkspaceUid;
- const isPinned = preferences?.workspaces?.pinnedWorkspaceUids?.includes(workspace.uid);
-
- return (
-
handleWorkspaceSwitch(workspace.uid)}
- >
-
{toTitleCase(workspace.name)}
-
- {workspace.type !== 'default' && (
-
- )}
- {isActive && }
-
-
- );
- })}
-
-
Workspaces
-
-
-
- Create workspace
-
-
-
- Open workspace
-
-
-
- {/* Search and Actions */}