Compare commits

...

1 Commits

Author SHA1 Message Date
znetsixe
43b5269f0b updates 2026-03-11 11:13:38 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@
icon: "font-awesome/fa-sliders",
label: function () {
return this.positionIcon + " " + this.assetType || "Measurement";
return (this.positionIcon || "") + " " + (this.assetType || "Measurement");
},
oneditprepare: function() {

View File

@@ -140,8 +140,8 @@ class nodeClass {
this.source.tick();
const raw = this.source.getOutput();
const processMsg = this._output.formatMsg(raw, this.config, 'process');
const influxMsg = this._output.formatMsg(raw, this.config, 'influxdb');
const processMsg = this._output.formatMsg(raw, this.source.config, 'process');
const influxMsg = this._output.formatMsg(raw, this.source.config, 'influxdb');
// Send only updated outputs on ports 0 & 1
this.node.send([processMsg, influxMsg]);