mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
fix(editor): Correctly compare old parameter value for nested parameters (#13179)
This commit is contained in:
@@ -814,9 +814,7 @@ function valueChanged(value: NodeParameterValueType | {} | Date) {
|
||||
return;
|
||||
}
|
||||
// Only update the value if it has changed
|
||||
const oldValue = node.value?.parameters
|
||||
? nodeHelpers.getParameterValue(node.value?.parameters, props.parameter.name, '')
|
||||
: undefined;
|
||||
const oldValue = get(node.value, props.path);
|
||||
if (oldValue !== undefined && oldValue === value) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user