Handle undefined linkType value for existing link-call nodes

This commit is contained in:
Nick O'Leary
2023-09-08 16:03:08 +01:00
parent d9bbac20f3
commit 6ca41ba69d

View File

@@ -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;
}