refactor(editor): Fix NodeView/Canvas related TS errors (#9581)

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
oleg
2024-06-03 16:33:20 +02:00
committed by GitHub
parent 3298914bc4
commit 68420ca6be
23 changed files with 587 additions and 389 deletions

View File

@@ -29,7 +29,7 @@ const openWorkflowTemplate = async (templateId: string) => {
const workflow = await workflowsStore.createNewWorkflow({
name,
connections: template.workflow.connections,
nodes: template.workflow.nodes,
nodes: template.workflow.nodes.map(workflowsStore.convertTemplateNodeToNodeUi),
pinData: template.workflow.pinData,
settings: template.workflow.settings,
meta: {