Skip to content

Commit

Permalink
fix: fix adding connections when initializing workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgrozav committed Oct 29, 2024
1 parent a701d87 commit c55049d
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 c55049d

Please sign in to comment.