mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(editor): Correctly compare old parameter value for nested parameters (#13179)
This commit is contained in:
parent
90d6f0020c
commit
b6c0d96e43
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue