mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-07 00:14:25 +00:00
Fix workspace selection logic and update settings initialization conditions
This commit is contained in:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user