Fix Rbe menu option for NarrowbandEq

bump overall packages
This commit is contained in:
Dave Conway-Jones
2020-01-14 22:11:57 +00:00
parent c8370e6da5
commit f069788062
3 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{
"name" : "node-red-node-rbe",
"version" : "0.2.7",
"version" : "0.2.8",
"description" : "A Node-RED node that provides report-by-exception (RBE) and deadband capabilities.",
"dependencies" : {
},

View File

@@ -1,5 +1,5 @@
<script type="text/x-red" data-template-name="rbe">
<script type="text/html" data-template-name="rbe">
<div class="form-row">
<label for="node-input-func"><i class="fa fa-wrench"></i> <span data-i18n="rbe.label.func"></span></label>
<select type="text" id="node-input-func" style="width:70%;">
@@ -70,7 +70,7 @@
} else {
$("#node-bandgap").show();
}
if ($("#node-input-func").val() === "narrowband") {
if (($("#node-input-func").val() === "narrowband")||($("#node-input-func").val() === "narrowbandEq")) {
$("#node-startvalue").show();
} else {
$("#node-startvalue").hide();