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

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