{
+ switchWorkspace(name)
+ }}
+ data-id={`dropdown-item-${name}`}
+ >
+ { isGitRepo ?
+
{ currentWorkspace === name ? ✓ { name } : { name } }
- }
-
- ))
- }
- { switchWorkspace(LOCALHOST) }}>{currentWorkspace === LOCALHOST ? ✓ localhost : { LOCALHOST } }
- { ((global.fs.browser.workspaces.length <= 0) || currentWorkspace === NO_WORKSPACE) && { switchWorkspace(NO_WORKSPACE) }}>{ NO_WORKSPACE } }
-
-
+
+
:
+ { currentWorkspace === name ? ✓ { name } : { name } }
+ }
+
+ ))
+ }
+