diff --git a/src/renderer/components/+workspaces/workspaces.scss b/src/renderer/components/+workspaces/workspaces.scss index b797213c1d..95c036c304 100644 --- a/src/renderer/components/+workspaces/workspaces.scss +++ b/src/renderer/components/+workspaces/workspaces.scss @@ -10,10 +10,5 @@ > .description { flex: 1; } - - &:not(.enabled) { - pointer-events: none; - opacity: 0.5; - } } } \ No newline at end of file diff --git a/src/renderer/components/+workspaces/workspaces.tsx b/src/renderer/components/+workspaces/workspaces.tsx index 42523401de..4442a772e8 100644 --- a/src/renderer/components/+workspaces/workspaces.tsx +++ b/src/renderer/components/+workspaces/workspaces.tsx @@ -115,7 +115,7 @@ export class Workspaces extends React.Component { Workspaces
- {this.workspaces.map(({ id: workspaceId, name, description, ownerRef, enabled }) => { + {this.workspaces.map(({ id: workspaceId, name, description, ownerRef }) => { const isActive = workspaceStore.currentWorkspaceId === workspaceId; const isDefault = workspaceStore.isDefault(workspaceId); const isEditing = this.editingWorkspaces.has(workspaceId); @@ -131,7 +131,7 @@ export class Workspaces extends React.Component { validate: value => !workspaceStore.getByName(value.trim()) } return ( -
+
{!isEditing && (