|
|
@ -9,6 +9,7 @@ export interface HamburgerMenuProps { |
|
|
|
downloadCurrentWorkspace: () => void |
|
|
|
downloadCurrentWorkspace: () => void |
|
|
|
deleteCurrentWorkspace: () => void |
|
|
|
deleteCurrentWorkspace: () => void |
|
|
|
deleteAllWorkspaces: () => void |
|
|
|
deleteAllWorkspaces: () => void |
|
|
|
|
|
|
|
pushChangesToGist: () => void |
|
|
|
cloneGitRepository: () => void |
|
|
|
cloneGitRepository: () => void |
|
|
|
downloadWorkspaces: () => void |
|
|
|
downloadWorkspaces: () => void |
|
|
|
restoreBackup: () => void |
|
|
|
restoreBackup: () => void |
|
|
@ -88,6 +89,17 @@ export function HamburgerMenu(props: HamburgerMenuProps) { |
|
|
|
platforms={[appPlatformTypes.web]} |
|
|
|
platforms={[appPlatformTypes.web]} |
|
|
|
></HamburgerMenuItem> |
|
|
|
></HamburgerMenuItem> |
|
|
|
<Dropdown.Divider className="border mb-0 mt-0 remixui_menuhr" style={{pointerEvents: 'none'}} /> |
|
|
|
<Dropdown.Divider className="border mb-0 mt-0 remixui_menuhr" style={{pointerEvents: 'none'}} /> |
|
|
|
|
|
|
|
<HamburgerMenuItem |
|
|
|
|
|
|
|
kind="publishToGist" |
|
|
|
|
|
|
|
fa="fab fa-github" |
|
|
|
|
|
|
|
hideOption={hideWorkspaceOptions || hideLocalhostOptions} |
|
|
|
|
|
|
|
actionOnClick={() => { |
|
|
|
|
|
|
|
props.pushChangesToGist() |
|
|
|
|
|
|
|
props.hideIconsMenu(!showIconsMenu) |
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
platforms={[appPlatformTypes.web]} |
|
|
|
|
|
|
|
></HamburgerMenuItem> |
|
|
|
|
|
|
|
<Dropdown.Divider className="border mb-0 mt-0 remixui_menuhr" style={{pointerEvents: 'none'}} /> |
|
|
|
<HamburgerMenuItem |
|
|
|
<HamburgerMenuItem |
|
|
|
kind="deleteAll" |
|
|
|
kind="deleteAll" |
|
|
|
fa="far fa-trash-alt" |
|
|
|
fa="far fa-trash-alt" |
|
|
|