mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Fix merge node connectors (#5364)
* fix(editor): Fix merge node connectors * Set `stateIsDirty` from `EVENT_CONNECTION` hook
This commit is contained in:
@@ -2088,6 +2088,7 @@ export default mixins(
|
||||
|
||||
this.connectTwoNodes(sourceNodeName, outputIndex, this.pullConnActiveNodeName, 0);
|
||||
this.pullConnActiveNodeName = null;
|
||||
this.dropPrevented = true;
|
||||
}
|
||||
return;
|
||||
}
|
||||
@@ -2160,6 +2161,8 @@ export default mixins(
|
||||
];
|
||||
|
||||
this.dropPrevented = true;
|
||||
this.workflowsStore.addConnection({ connection: connectionData });
|
||||
this.uiStore.stateIsDirty = true;
|
||||
if (!this.suspendRecordingDetachedConnections) {
|
||||
this.historyStore.pushCommandToUndo(new AddConnectionCommand(connectionData));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user