Workspace dropdown to RadioDropdown

This commit is contained in:
Gregory Schier
2024-06-14 17:07:35 -07:00
parent 6c331ed734
commit b49081cd06
4 changed files with 55 additions and 51 deletions

View File

@@ -278,7 +278,7 @@ export function CommandPalette({ onClose }: { onClose: () => void }) {
workspaceGroup.items.push({
key: `switch-workspace-${w.id}`,
label: w.name,
onSelect: () => openWorkspace.mutate({ workspace: w, inNewWindow: false }),
onSelect: () => openWorkspace.mutate({ workspaceId: w.id, inNewWindow: false }),
});
}