mirror of https://github.com/node-red/node-red.git
Ensure config nodes with invalid z are imported somewhere
parent
d79cd463a0
commit
99478897c5
|
@ -1359,6 +1359,10 @@ RED.nodes = (function() {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (n.z) {
|
||||
n.z = workspaces[n.z] || activeWorkspace;
|
||||
}
|
||||
}
|
||||
|
||||
if (!existingConfigNode || existingConfigNode._def.exclusive) { //} || !compareNodes(existingConfigNode,n,true) || existingConfigNode.z !== n.z) {
|
||||
|
|
Loading…
Reference in New Issue