|
|
|
@ -26,6 +26,10 @@ export function HamburgerMenu (props: HamburgerMenuProps) { |
|
|
|
|
<HamburgerMenuItem kind='create' fa='far fa-plus' hideOption={hideWorkspaceOptions} actionOnClick={() => { |
|
|
|
|
props.createWorkspace() |
|
|
|
|
props.hideIconsMenu(!showIconsMenu) |
|
|
|
|
}}></HamburgerMenuItem> |
|
|
|
|
<HamburgerMenuItem kind='rename' fa='far fa-edit' hideOption={hideWorkspaceOptions || hideLocalhostOptions} actionOnClick={() => { |
|
|
|
|
props.renameCurrentWorkspace() |
|
|
|
|
props.hideIconsMenu(!showIconsMenu) |
|
|
|
|
}}></HamburgerMenuItem> |
|
|
|
|
<HamburgerMenuItem kind='delete' fa='far fa-trash' hideOption={hideWorkspaceOptions || hideLocalhostOptions} actionOnClick={() => { |
|
|
|
|
props.deleteCurrentWorkspace() |
|
|
|
@ -35,10 +39,6 @@ export function HamburgerMenu (props: HamburgerMenuProps) { |
|
|
|
|
props.deleteAllWorkspaces() |
|
|
|
|
props.hideIconsMenu(!showIconsMenu) |
|
|
|
|
}}></HamburgerMenuItem> |
|
|
|
|
<HamburgerMenuItem kind='rename' fa='far fa-edit' hideOption={hideWorkspaceOptions || hideLocalhostOptions} actionOnClick={() => { |
|
|
|
|
props.renameCurrentWorkspace() |
|
|
|
|
props.hideIconsMenu(!showIconsMenu) |
|
|
|
|
}}></HamburgerMenuItem> |
|
|
|
|
<Dropdown.Divider className="border mb-0 mt-0 remixui_menuhr" style={{ pointerEvents: 'none' }} /> |
|
|
|
|
<HamburgerMenuItem kind='clone' fa='fab fa-github' hideOption={hideWorkspaceOptions} actionOnClick={() => { |
|
|
|
|
props.cloneGitRepository() |
|
|
|
|