mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix: Fix loading workflows with null connection value (no-changelog) (#11592)
This commit is contained in:
@@ -180,7 +180,8 @@ export class Workflow {
|
||||
if (!connections[sourceNode][type].hasOwnProperty(inputIndex)) {
|
||||
continue;
|
||||
}
|
||||
for (connectionInfo of connections[sourceNode][type][inputIndex]) {
|
||||
|
||||
for (connectionInfo of connections[sourceNode][type][inputIndex] ?? []) {
|
||||
if (!returnConnection.hasOwnProperty(connectionInfo.node)) {
|
||||
returnConnection[connectionInfo.node] = {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user