mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Make handlings one line
This commit is contained in:
parent
cd76c934b6
commit
18e1b670ca
@ -103,11 +103,7 @@
|
||||
} else if (type === "istype") {
|
||||
r.v = rule.find(".node-input-rule-type-value").typedInput('type');
|
||||
r.vt = rule.find(".node-input-rule-type-value").typedInput('type');
|
||||
if (r.vt === "number") {
|
||||
r.vt = "num";
|
||||
} else {
|
||||
r.vt = "str";
|
||||
}
|
||||
r.vt = (r.vt === "number") ? "num" : "str";
|
||||
} else if (type === "jsonata_exp") {
|
||||
r.v = rule.find(".node-input-rule-exp-value").typedInput('value');
|
||||
r.vt = rule.find(".node-input-rule-exp-value").typedInput('type');
|
||||
|
Loading…
Reference in New Issue
Block a user