mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix import of config nodes with unknown z property
This commit is contained in:
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
Block a user