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;
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue