show only for oz templates

pull/5370/head
Aniket-Engg 2 years ago
parent 98ddc04366
commit 7b2a83252e
  1. 4
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -139,7 +139,9 @@ export function Workspace () {
} }
const updateWsName = () => { const updateWsName = () => {
setDisplayOzCustoms(true) // @ts-ignore
if (workspaceCreateTemplateInput.current.value.startsWith('oz')) setDisplayOzCustoms(true)
else setDisplayOzCustoms(false)
console.log('inside updateWsName', displayOzCustoms) console.log('inside updateWsName', displayOzCustoms)
// @ts-ignore // @ts-ignore
workspaceCreateInput.current.value = `${workspaceCreateTemplateInput.current.value || 'remixDefault'}_${Date.now()}` workspaceCreateInput.current.value = `${workspaceCreateTemplateInput.current.value || 'remixDefault'}_${Date.now()}`

Loading…
Cancel
Save