remove add to current for blank

pull/5042/head
yann300 4 months ago committed by Aniket
parent 9e1bd0f6b3
commit 52e7fffb1f
  1. 2
      apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx
  2. 2
      apps/remix-ide/src/app/plugins/templates-selection/templates.ts

@ -163,7 +163,7 @@ export class TemplatesSelectionPlugin extends ViewPlugin {
<div>
{item.displayName}
<div className='align-items-center justify-content-between w-100 d-flex pt-2 flex-row'>
{!template.IsArtefact && <CustomTooltip
{(!template.IsArtefact || !item.isArtefact) && <CustomTooltip
placement="auto"
tooltipId={`overlay-tooltip-new${item.name}`}
tooltipText="Create a new workspace"

@ -4,7 +4,7 @@ export const templates = (intl) => {
name: "Generic",
items: [
{ value: "remixDefault", displayName: intl.formatMessage({ id: 'filePanel.basic' }) },
{ value: "blank", displayName: intl.formatMessage({ id: 'filePanel.blank' }) }
{ value: "blank", displayName: intl.formatMessage({ id: 'filePanel.blank' }), IsArtefact: true }
]
},
{

Loading…
Cancel
Save