mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure config nodes with invalid z are imported somewhere
This commit is contained in:
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) {
|
if (!existingConfigNode || existingConfigNode._def.exclusive) { //} || !compareNodes(existingConfigNode,n,true) || existingConfigNode.z !== n.z) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user