|
|
@ -535,6 +535,10 @@ export function Workspace () { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</OverlayTrigger>, |
|
|
|
</OverlayTrigger>, |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
const workspaces = global.fs.browser.workspaces |
|
|
|
|
|
|
|
const fs = global.fs |
|
|
|
|
|
|
|
console.log({workspaces}) |
|
|
|
|
|
|
|
console.log({fs}) |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className='d-flex flex-column justify-content-between h-100'> |
|
|
|
<div className='d-flex flex-column justify-content-between h-100'> |
|
|
@ -630,7 +634,6 @@ export function Workspace () { |
|
|
|
</Dropdown.Item> |
|
|
|
</Dropdown.Item> |
|
|
|
)) |
|
|
|
)) |
|
|
|
}
|
|
|
|
}
|
|
|
|
<Dropdown.Item onClick={() => { switchWorkspace(LOCALHOST) }}>{currentWorkspace === LOCALHOST ? <span>✓ localhost </span> : <span className="pl-3"> { LOCALHOST } </span>}</Dropdown.Item> |
|
|
|
|
|
|
|
{ ((global.fs.browser.workspaces.length <= 0) || currentWorkspace === NO_WORKSPACE) && <Dropdown.Item onClick={() => { switchWorkspace(NO_WORKSPACE) }}>{ <span className="pl-3">NO_WORKSPACE</span> }</Dropdown.Item> } |
|
|
|
{ ((global.fs.browser.workspaces.length <= 0) || currentWorkspace === NO_WORKSPACE) && <Dropdown.Item onClick={() => { switchWorkspace(NO_WORKSPACE) }}>{ <span className="pl-3">NO_WORKSPACE</span> }</Dropdown.Item> } |
|
|
|
</Dropdown.Menu> |
|
|
|
</Dropdown.Menu> |
|
|
|
</Dropdown> |
|
|
|
</Dropdown> |
|
|
|