fixed: bug related to PROD-112, PROD-132

This commit is contained in:
Dmitriymush 2020-01-31 16:33:02 +02:00
parent 0dd313dd61
commit f11c937cf2
2 changed files with 1116 additions and 1260 deletions

2526
ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -209,7 +209,9 @@ export default class TbCanvasDigitalGauge {
}
var value = tvPair[1];
if(value !== this.gauge.value) {
if (!this.ctx.settings.animation) {
this.gauge._value = value;
}
this.gauge.value = value;
} else if (this.localSettings.showTimestamp && this.gauge.timestamp != timestamp) {
this.gauge.timestamp = timestamp;