mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(editor): Fix bug causing connections to not get created on new canvas (no-changelog) (#10360)
This commit is contained in:
@@ -800,6 +800,7 @@ async function onAddNodesAndConnections(
|
||||
}
|
||||
|
||||
await addNodes(nodes, { dragAndDrop, position, trackHistory: true });
|
||||
await nextTick();
|
||||
|
||||
const offsetIndex = editableWorkflow.value.nodes.length - nodes.length;
|
||||
const mappedConnections: CanvasConnectionCreateData[] = connections.map(({ from, to }) => {
|
||||
|
||||
Reference in New Issue
Block a user