From d2c704ab9952beb94bb866aa25eb6052e27ccde6 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Mon, 29 Aug 2022 15:02:40 +0530 Subject: [PATCH] fixes FE layout on localhost workspace --- .../workspace/src/lib/remix-ui-workspace.tsx | 73 ++++++++++--------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index f06b66ee91..0f453839e7 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -298,42 +298,43 @@ export function Workspace () {
{ toggleDropdown(false) }}>
- { global.fs.browser.isRequestingWorkspace || global.fs.browser.isRequestingCloning ?
- :
- { (global.fs.mode === 'browser') && (currentWorkspace !== NO_WORKSPACE) && - - } + { (global.fs.browser.isRequestingWorkspace || global.fs.browser.isRequestingCloning) &&
} + { !(global.fs.browser.isRequestingWorkspace || + global.fs.browser.isRequestingCloning) && + (global.fs.mode === 'browser') && (currentWorkspace !== NO_WORKSPACE) && +
+
} {