Fix workspace selection logic and update settings initialization conditions

This commit is contained in:
2025-10-11 19:04:08 +02:00
parent bcc5d2588a
commit 769385d8c7
2 changed files with 4 additions and 6 deletions

View File

@@ -110,10 +110,10 @@ const WorkspaceSwitcher: React.FC = () => {
</Center>
) : (
workspaces.map((workspace) => {
const isSelected = workspace.name === currentWorkspace?.name;
const isSelected = workspace.id === currentWorkspace?.id;
return (
<Paper
key={workspace.name}
key={workspace.id}
p="xs"
withBorder
style={(theme) =>