Merge pull request #2422 from ethereum/hide-backup

Hide backup and restore workspaces for localhost
renderS
yann300 2 years ago committed by GitHub
commit 8b30b10fae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -193,7 +193,7 @@ export function Workspace () {
title='Delete'>
</span>
<span
hidden={currentWorkspace === NO_WORKSPACE}
hidden={currentWorkspace === LOCALHOST || currentWorkspace === NO_WORKSPACE}
id='workspacesDownload'
data-id='workspacesDownload'
onClick={(e) => {
@ -204,6 +204,7 @@ export function Workspace () {
title='Download Workspaces'>
</span>
<span
hidden={currentWorkspace === LOCALHOST}
id='workspacesRestore'
data-id='workspacesRestore'
onClick={(e) => {

Loading…
Cancel
Save