mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
910f6134f6
commit
27e258b19b
@ -2302,7 +2302,7 @@ RED.nodes = (function() {
|
|||||||
// get added
|
// get added
|
||||||
if (activeSubflow && /^link /.test(n.type) && n.links) {
|
if (activeSubflow && /^link /.test(n.type) && n.links) {
|
||||||
n.links = n.links.filter(function(id) {
|
n.links = n.links.filter(function(id) {
|
||||||
var otherNode = RED.nodes.node(id);
|
const otherNode = node_map[id] || RED.nodes.node(id);
|
||||||
return (otherNode && otherNode.z === activeWorkspace)
|
return (otherNode && otherNode.z === activeWorkspace)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user