hide option from context menu

Aniket-Engg-patch-1
aniket-engg 10 months ago committed by Aniket
parent 483477a7d9
commit 4a13ed8a71
  1. 4
      libs/remix-ui/workspace/src/lib/actions/workspace.ts
  2. 14
      libs/remix-ui/workspace/src/lib/utils/index.ts

@ -268,9 +268,9 @@ export const loadWorkspacePreset = async (template: WorkspaceTemplate = 'remixDe
// const auth = 'Basic ' + Buffer.from(projectId + ':' + projectSecret).toString('base64')
const ipfs = IpfsHttpClient({ port, host, protocol
, headers: {
// , headers: {
// authorization: auth
}
// }
})
const hashed = bufferToHex(hash.keccakFromString(params.shareCode))

@ -59,13 +59,13 @@ export const contextMenuActions: MenuItems = [{
label: '',
group: 1
}, {
id: 'copyShareURL',
name: 'Copy share URL',
type: ['file'],
multiselect: false,
label: '',
group: 1
}, {
// id: 'copyShareURL',
// name: 'Copy share URL',
// type: ['file'],
// multiselect: false,
// label: '',
// group: 1
// }, {
id: 'download',
name: 'Download',
type: ['file', 'folder', 'workspace'],

Loading…
Cancel
Save