do JSON comparison of old value/new value

fixes #3475
This commit is contained in:
Steve-Mcl 2022-03-08 14:07:03 +00:00
parent fdb868516f
commit a49927f173
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@
newValue = "";
}
}
if (node[d] != newValue) {
if (!JSON.stringify(node[d]) === JSON.stringify(newValue)) {
if (node._def.defaults[d].type) {
// Change to a related config node
var configNode = RED.nodes.node(node[d]);