Pārlūkot izejas kodu

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

master
Massimo pirms 5 gadiem
vecāks
revīzija
f91e48e93c
3 mainītis faili ar 8 papildinājumiem un 4 dzēšanām
  1. +4
    -0
      CHANGELOG.md
  2. +3
    -3
      boolean-logic-ultimate/BooleanLogicUltimate.html
  3. +1
    -1
      package.json

+ 4
- 0
CHANGELOG.md Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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": {

Notiek ielāde…
Atcelt
Saglabāt