Merge pull request #2198 from node-red-hitachi/allow-env-in-switch-node

Allow environment variable as target of switch node
This commit is contained in:
Nick O'Leary
2019-06-11 15:13:46 +01:00
committed by GitHub
4 changed files with 11 additions and 3 deletions

View File

@@ -128,7 +128,7 @@
var node = this;
var previousValueType = {value:"prev",label:this._("inject.previous"),hasValue:false};
$("#node-input-property").typedInput({default:this.propertyType||'msg',types:['msg','flow','global','jsonata']});
$("#node-input-property").typedInput({default:this.propertyType||'msg',types:['msg','flow','global','jsonata','env']});
var outputCount = $("#node-input-outputs").val("{}");
var andLabel = this._("switch.and");