Skip to content

Commit

Permalink
fix(editor): Fix adding connections when initializing workspace in te…
Browse files Browse the repository at this point in the history
…mplates view on new canvas (#11451)
  • Loading branch information
alexgrozav authored Oct 29, 2024
1 parent dcd6038 commit ea47b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor-ui/src/composables/useCanvasOperations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ export function useCanvasOperations({ router }: { router: ReturnType<typeof useR

// Add nodes and connections
await addNodes(data.nodes, { keepPristine: true });
workflowsStore.setConnections(data.connections);
await addConnections(mapLegacyConnectionsToCanvasConnections(data.connections, data.nodes));
}

/**
Expand Down

0 comments on commit ea47b02

Please sign in to comment.