mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-26 06:17:21 +02:00
fix(editor): Fix adding connections when initializing workspace in templates view on new canvas (#11451)
This commit is contained in:
parent
dcd6038c30
commit
ea47b025fb
|
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user