Ensure subflow-scoped config nodes do not get moved on import

Fixes #2789
This commit is contained in:
Nick O'Leary 2021-01-06 11:22:52 +00:00
parent c433f736a5
commit 30a68fefec
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 1 deletions

View File

@ -1360,7 +1360,7 @@ RED.nodes = (function() {
}
}
} else {
if (n.z && !workspaces[n.z]) {
if (n.z && !workspaces[n.z] && !subflow_map[n.z]) {
n.z = activeWorkspace;
}
}