mirror of https://github.com/node-red/node-red.git
Fix import of config nodes with unknown z property
parent
98b639540b
commit
2b801a756a
|
@ -1360,8 +1360,8 @@ RED.nodes = (function() {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
if (n.z) {
|
||||
n.z = workspaces[n.z] || activeWorkspace;
|
||||
if (n.z && !workspaces[n.z]) {
|
||||
n.z = activeWorkspace;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue