Browse Source
Update aggregated-value-card-widget.component.ts
pull/10108/head
Igor Kulikov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/cards/aggregated-value-card-widget.component.ts
|
|
|
@ -241,8 +241,8 @@ export class AggregatedValueCardWidgetComponent implements OnInit, AfterViewInit |
|
|
|
} else { |
|
|
|
aggValue.value = 'N/A'; |
|
|
|
} |
|
|
|
const numeric = formatNumberValue(value, (aggValue.key.decimals || this.ctx.decimals)); |
|
|
|
aggValue.color.update(value); |
|
|
|
const numeric = formatNumberValue(value, (aggValue.key.decimals || this.ctx.decimals)); |
|
|
|
if (aggValue.showArrow && isDefined(numeric)) { |
|
|
|
aggValue.upArrow = numeric > 0; |
|
|
|
aggValue.downArrow = numeric < 0; |
|
|
|
|