mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure subflow-scoped config nodes do not get moved on import
Fixes #2789
This commit is contained in:
parent
c433f736a5
commit
30a68fefec
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user