|
|
|
@ -309,8 +309,7 @@ export function Workspace () { |
|
|
|
|
<div className='h-100 remixui_fileExplorerTree' onFocus={() => { toggleDropdown(false) }}> |
|
|
|
|
<div className='h-100'> |
|
|
|
|
{ (global.fs.browser.isRequestingWorkspace || global.fs.browser.isRequestingCloning) && <div className="text-center py-5"><i className="fas fa-spinner fa-pulse fa-2x"></i></div>} |
|
|
|
|
{ !(global.fs.browser.isRequestingWorkspace ||
|
|
|
|
|
global.fs.browser.isRequestingCloning) && |
|
|
|
|
{ !(global.fs.browser.isRequestingWorkspace || global.fs.browser.isRequestingCloning) && |
|
|
|
|
(global.fs.mode === 'browser') && (currentWorkspace !== NO_WORKSPACE) &&
|
|
|
|
|
<div className='h-100 remixui_treeview' data-id='filePanelFileExplorerTree'> |
|
|
|
|
<FileExplorer |
|
|
|
@ -347,10 +346,9 @@ export function Workspace () { |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
} |
|
|
|
|
{ |
|
|
|
|
global.fs.localhost.isRequestingLocalhost ? <div className="text-center py-5"><i className="fas fa-spinner fa-pulse fa-2x"></i></div> |
|
|
|
|
: <div className='h-100 filesystemexplorer remixui_treeview'> |
|
|
|
|
{ global.fs.mode === 'localhost' && global.fs.localhost.isSuccessfulLocalhost && |
|
|
|
|
{ global.fs.localhost.isRequestingLocalhost && <div className="text-center py-5"><i className="fas fa-spinner fa-pulse fa-2x"></i></div> } |
|
|
|
|
{ (global.fs.mode === 'localhost' && global.fs.localhost.isSuccessfulLocalhost) && |
|
|
|
|
<div className='h-100 filesystemexplorer remixui_treeview'> |
|
|
|
|
<FileExplorer |
|
|
|
|
name='localhost' |
|
|
|
|
menuItems={['createNewFile', 'createNewFolder']} |
|
|
|
@ -383,7 +381,6 @@ export function Workspace () { |
|
|
|
|
dispatchMoveFile={global.dispatchMoveFile} |
|
|
|
|
dispatchMoveFolder={global.dispatchMoveFolder} |
|
|
|
|
/> |
|
|
|
|
} |
|
|
|
|
</div> |
|
|
|
|
} |
|
|
|
|
</div> |
|
|
|
|