1
0
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:
Nick O'Leary 2020-11-17 23:07:43 +00:00
parent 98b639540b
commit 2b801a756a
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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;
}
}