mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
🐛 Fix issue with IF&Switch node for undefined expressions #1099
This commit is contained in:
@@ -380,8 +380,8 @@ export class Workflow {
|
||||
|
||||
const returnData: any = {}; // tslint:disable-line:no-any
|
||||
|
||||
for (const parameterName of Object.keys(parameterValue)) {
|
||||
returnData[parameterName] = this.renameNodeInExpressions(parameterValue[parameterName], currentName, newName);
|
||||
for (const parameterName of Object.keys(parameterValue || {})) {
|
||||
returnData[parameterName] = this.renameNodeInExpressions(parameterValue![parameterName], currentName, newName);
|
||||
}
|
||||
|
||||
return returnData;
|
||||
|
||||
Reference in New Issue
Block a user