mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Update packages/node_modules/@node-red/editor-client/src/js/history.js
This commit is contained in:
parent
f9877f8d0b
commit
39a85c721d
@ -491,7 +491,13 @@ RED.history = (function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
ev.node[i] = ev.changes[i];
|
||||
if (i === "credentials" && ev.changes[i]) {
|
||||
for (const [key, value] of Object.entries(ev.changes[i])) {
|
||||
ev.node.credentials[key] = value;
|
||||
}
|
||||
} else {
|
||||
ev.node[i] = ev.changes[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user