Browse Source

Digital Gauge fix in update() - change strict to loose inequality

pull/8118/head
Artem Babak 4 years ago
parent
commit
42ade3ee3a
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/digital-gauge.ts

2
ui-ngx/src/app/modules/home/components/widget/lib/digital-gauge.ts

@ -406,7 +406,7 @@ export class TbCanvasDigitalGauge {
filter.transform(timestamp, this.localSettings.timestampFormat); filter.transform(timestamp, this.localSettings.timestampFormat);
} }
const value = tvPair[1]; const value = tvPair[1];
if (value !== this.gauge.value) { if (value != this.gauge.value) {
if (!this.gauge.options.animation) { if (!this.gauge.options.animation) {
this.gauge._value = value; this.gauge._value = value;
} }

Loading…
Cancel
Save