Browse Source
Merge pull request #1085 from Terny22/master
Fixed issue with gauge value changing on widget resize.
pull/1104/head
Andrew Shvayka
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
ui/src/app/widget/lib/CanvasDigitalGauge.js
|
|
|
@ -209,7 +209,7 @@ export default class CanvasDigitalGauge extends canvasGauges.BaseGauge { |
|
|
|
this.elementValueClone.renderedValue = this._value; |
|
|
|
} |
|
|
|
if (angular.isUndefined(this.elementValueClone.renderedValue)) { |
|
|
|
this.elementValueClone.renderedValue = options.minValue; |
|
|
|
this.elementValueClone.renderedValue = this.value; |
|
|
|
} |
|
|
|
let context = this.contextValueClone; |
|
|
|
// clear the cache
|
|
|
|
|