浏览代码

Node nale shows "f" when "filter true" is selected and "t" (triggername) when "trigger only by single topic" is selected.

master
Massimo 5 年前
父节点
当前提交
f91e48e93c
共有 3 个文件被更改,包括 8 次插入4 次删除
  1. +4
    -0
      CHANGELOG.md
  2. +3
    -3
      boolean-logic-ultimate/BooleanLogicUltimate.html
  3. +1
    -1
      package.json

+ 4
- 0
CHANGELOG.md 查看文件

@@ -1,5 +1,9 @@
# node-red-contrib-boolean-logic-ultimate
<p>
<b>Version 1.0.7</b><br/>
- Node nale shows "f" when "filter true" is selected and "t" (triggername) when "trigger only by single topic" is selected.<br/>
</p>
<p>
<b>Version 1.0.6</b><br/>
- Stripped out the date/time in node status<br/>
</p>

+ 3
- 3
boolean-logic-ultimate/BooleanLogicUltimate.html 查看文件

@@ -56,9 +56,9 @@
label:
function() {
let label = "";
let filtered=this.filtertrue=="both" ? "" : " |T" ;
let filtered=this.filtertrue=="both" ? "" : " f" ;
let trigger="";
if(typeof this.outputtriggeredby !== "undefined") trigger=this.outputtriggeredby=="all" ? "" : " |TRIG (" + this.triggertopic+")";
if(typeof this.outputtriggeredby !== "undefined") trigger=this.outputtriggeredby=="all" ? "" : "t (" + this.triggertopic+")";
label= this.inputCount + ((filtered+trigger)==""?" Boolean Logic":(filtered+trigger));
if( this.name !== undefined && this.name.length > 0 ) {
label += " (" + this.name + ")";
@@ -66,7 +66,7 @@
return label;
},
paletteLabel: function() {
return "Boolean Logic Ultimate";
return "BooleanLogicUltimate";
},
oneditprepare: function () {
// Add write and response as default for existing nodes like was default before

+ 1
- 1
package.json 查看文件

@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-boolean-logic-ultimate",
"version": "1.0.6",
"version": "1.0.7",
"description": "A set of Node-RED enhanced boolean logic, with persisten values after reboot and more",
"author": "Supergiovane (https://github.com/Supergiovane)",
"dependencies": {

正在加载...
取消
保存