From a087d03b64983ed7e47fa92db3139249c5d98112 Mon Sep 17 00:00:00 2001 From: Benjamin Ihrig Date: Mon, 28 Nov 2022 15:53:42 +0100 Subject: [PATCH] Make sure, links are visible if visibility is undefined after a node-red update --- .../node_modules/@node-red/nodes/core/common/60-link.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/node_modules/@node-red/nodes/core/common/60-link.html b/packages/node_modules/@node-red/nodes/core/common/60-link.html index f2dec9f34..f1fd62f9c 100644 --- a/packages/node_modules/@node-red/nodes/core/common/60-link.html +++ b/packages/node_modules/@node-red/nodes/core/common/60-link.html @@ -99,8 +99,11 @@ if (n.visibility === "global") { return true; } - // visibility === "flow" - return n.z === node.z; + if (n.visibility === "flow") { + return n.z === node.z; + } + // undefined (after update) + return true; }); let candidateNodesCount = 0;