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
1 changed files with 2 additions and 2 deletions

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