We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9be9c66 commit bf40257Copy full SHA for bf40257
1 file changed
src/modules/workspace/workspaces-drawer/drawer.js
@@ -153,7 +153,9 @@ export const createWorkspacesDrawer = ({
153
typeof getActiveWorkspaceId === 'function' ? toSafeText(getActiveWorkspaceId()) : ''
154
const hasSelection = normalizedSelectedId.length > 0
155
const isSelectedWorkspaceActive =
156
- hasSelection && activeWorkspaceId && normalizedSelectedId === activeWorkspaceId
+ hasSelection &&
157
+ Boolean(activeWorkspaceId) &&
158
+ normalizedSelectedId === activeWorkspaceId
159
const canCreateWorkspace = typeof onCreateWorkspace === 'function'
160
const canInitializeWorkspace = typeof onInitializeWorkspace === 'function'
161
const hasStoredWorkspaces =
0 commit comments