made changes as per @ryestew & @LianaHus

pull/5370/head
Joseph Izang 2 months ago committed by ryestew
parent 69e59c5548
commit a7a77295eb
  1. 8
      libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx
  2. 2
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -28,21 +28,21 @@ export function HamburgerMenu(props: HamburgerMenuProps) {
return (
<>
<HamburgerMenuItem
kind="create"
kind="createBlank"
fa="far fa-plus"
hideOption={hideWorkspaceOptions}
actionOnClick={() => {
props.createWorkspace()
props.createBlankWorkspace()
props.hideIconsMenu(!showIconsMenu)
}}
platforms={[appPlatformTypes.web]}
></HamburgerMenuItem>
<HamburgerMenuItem
kind="createBlank"
kind="create"
fa="far fa-plus"
hideOption={hideWorkspaceOptions}
actionOnClick={() => {
props.createBlankWorkspace()
props.createWorkspace()
props.hideIconsMenu(!showIconsMenu)
}}
platforms={[appPlatformTypes.web]}

@ -349,7 +349,7 @@ export function Workspace() {
})
global.modal(
intl.formatMessage({ id: 'filePanel.workspace.createBlank' }),
await createModalMessage(`blank - 1`, gitNotSet, (value) => { workspace = value }, (value) => gitInit = false),
await createModalMessage(`blank - ${counter}`, gitNotSet, (value) => { workspace = value }, (value) => gitInit = false),
intl.formatMessage({ id: 'filePanel.ok' }),
() => global.dispatchCreateWorkspace(`blank - ${counter}`, 'blank', false),
intl.formatMessage({ id: 'filePanel.cancel' })

Loading…
Cancel
Save