Make sure, links are visible if visibility is undefined after a node-red update

This commit is contained in:
Benjamin Ihrig 2022-11-28 15:53:42 +01:00
parent 93d9294e77
commit a087d03b64
No known key found for this signature in database
GPG Key ID: 8EA4801DC4035EED

View File

@ -99,8 +99,11 @@
if (n.visibility === "global") { if (n.visibility === "global") {
return true; return true;
} }
// visibility === "flow" if (n.visibility === "flow") {
return n.z === node.z; return n.z === node.z;
}
// undefined (after update)
return true;
}); });
let candidateNodesCount = 0; let candidateNodesCount = 0;