Compare commits

...

1 Commits

Author SHA1 Message Date
Nick O'Leary
27e258b19b Fix importing connected link nodes into a subflow
Fixes #4055
2023-03-02 14:14:33 +00:00

View File

@@ -2302,7 +2302,7 @@ RED.nodes = (function() {
// get added
if (activeSubflow && /^link /.test(n.type) && n.links) {
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)
});
}