Bugfix/improve numeric comparison of strings in value component (#4330)
* Improve numeric comparison of strings * Update changelog
This commit is contained in:
parent
7577a452f0
commit
190abdf9cc
@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Upgraded `prettier` from version `3.4.2` to `3.5.1`
|
- Upgraded `prettier` from version `3.4.2` to `3.5.1`
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Improved the numeric comparison of strings in the value component
|
||||||
|
|
||||||
## 2.140.0 - 2025-02-20
|
## 2.140.0 - 2025-02-20
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
>
|
>
|
||||||
<ng-container *ngIf="isNumber || value === null">
|
<ng-container *ngIf="isNumber || value === null">
|
||||||
<ng-container *ngIf="colorizeSign && !useAbsoluteValue">
|
<ng-container *ngIf="colorizeSign && !useAbsoluteValue">
|
||||||
<div *ngIf="value > 0" class="mr-1 text-success">+</div>
|
<div *ngIf="+value > 0" class="mr-1 text-success">+</div>
|
||||||
<div *ngIf="value < 0" class="mr-1 text-danger">-</div>
|
<div *ngIf="+value < 0" class="mr-1 text-danger">-</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<div
|
<div
|
||||||
*ngIf="isPercent"
|
*ngIf="isPercent"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user