conditionally show workspace icons if loaded workspace is localhost

pull/3066/head
Joseph Izang 2 years ago committed by Aniket
parent 9b2a0a8dc6
commit c435829b0c
  1. 4
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -549,7 +549,7 @@ export function Workspace () {
WORKSPACES
</label>
</span>
<span className="remixui_menu remixui_topmenu d-flex justify-content-between align-items-end w-75">
{currentWorkspace !== LOCALHOST ? (<span className="remixui_menu remixui_topmenu d-flex justify-content-between align-items-end w-75">
<OverlayTrigger
placement="top-end"
overlay={
@ -592,7 +592,7 @@ export function Workspace () {
}
</Dropdown.Menu>
</Dropdown>
</span>
</span>) : null}
</div>
<Dropdown id="workspacesSelect" data-id="workspacesSelect" onToggle={toggleDropdown} show={showDropdown}>

Loading…
Cancel
Save