1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix Switch node display of jsonata_exp type

This commit is contained in:
Nick O'Leary 2019-09-10 14:31:34 +01:00
parent 3129d44ff1
commit 3c657a6645
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -354,7 +354,6 @@
if (!expValueField){ if (!expValueField){
expValueField = createExpValueField(); expValueField = createExpValueField();
} }
} else if (rule.t === "jsonata_exp") {
expValueField.typedInput('value',rule.v); expValueField.typedInput('value',rule.v);
expValueField.typedInput('type',rule.vt||'jsonata'); expValueField.typedInput('type',rule.vt||'jsonata');
} else if (typeof rule.v != "undefined") { } else if (typeof rule.v != "undefined") {