mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32: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;
|
return;
|
||||||
}
|
}
|
||||||
// Only update the value if it has changed
|
// Only update the value if it has changed
|
||||||
const oldValue = node.value?.parameters
|
const oldValue = get(node.value, props.path);
|
||||||
? nodeHelpers.getParameterValue(node.value?.parameters, props.parameter.name, '')
|
|
||||||
: undefined;
|
|
||||||
if (oldValue !== undefined && oldValue === value) {
|
if (oldValue !== undefined && oldValue === value) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user