mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Handle undefined linkType value for existing link-call nodes
This commit is contained in:
parent
d9bbac20f3
commit
6ca41ba69d
@ -275,7 +275,7 @@
|
|||||||
value: [],
|
value: [],
|
||||||
type: "link in[]",
|
type: "link in[]",
|
||||||
validate: function (v, opt) {
|
validate: function (v, opt) {
|
||||||
if ((this.linkType === "static" && v.length > 0)
|
if (((this.linkType || "static") === "static" && v.length > 0)
|
||||||
|| this.linkType === "dynamic") {
|
|| this.linkType === "dynamic") {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user