feat(editor): Add several performance improvements when adding nodes in new canvas (no-changelog) (#10170)

This commit is contained in:
Alex Grozav
2024-07-25 15:26:50 +03:00
committed by GitHub
parent 520f2316d1
commit 112d6b883d
7 changed files with 170 additions and 105 deletions

View File

@@ -125,7 +125,7 @@ async function fetchWorkflow() {
try {
await workflowsStore.fetchActiveWorkflows();
const data = await workflowsStore.fetchWorkflow(workflowId.value);
await workflowHelpers.initState(data);
workflowHelpers.initState(data);
await nodeHelpers.addNodes(data.nodes, data.connections);
} catch (error) {
toast.showError(error, i18n.baseText('nodeView.showError.openWorkflow.title'));