mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Handle just-copied-but-not-deployed node with credentials in editor
Fixes #3090
This commit is contained in:
parent
064f3eb3bc
commit
735b9c5844
@ -409,6 +409,8 @@ RED.editor = (function() {
|
||||
var changed = false;
|
||||
if (!node.credentials) {
|
||||
node.credentials = {_:{}};
|
||||
} else if (!node.credentials._) {
|
||||
node.credentials._ = {};
|
||||
}
|
||||
|
||||
for (var cred in credDefinition) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user