From 6ca41ba69dd1a4d16f6423037ffc9db0963d7ce3 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 8 Sep 2023 16:03:08 +0100 Subject: [PATCH] Handle undefined linkType value for existing link-call nodes --- packages/node_modules/@node-red/nodes/core/common/60-link.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c57827149..73ce86ccf 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 @@ -275,7 +275,7 @@ value: [], type: "link in[]", validate: function (v, opt) { - if ((this.linkType === "static" && v.length > 0) + if (((this.linkType || "static") === "static" && v.length > 0) || this.linkType === "dynamic") { return true; }