Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Bugfix/improve numeric comparison of strings in value component (#4330)
Thomas Kaul190abdf9cc39
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 7fd3aaf6b7..019bf4b6a6 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -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`+### Fixed++- Improved the numeric comparison of strings in the value component+## 2.140.0 - 2025-02-20### Changeddiff --git a/libs/ui/src/lib/value/value.component.html b/libs/ui/src/lib/value/value.component.htmlindex a691c54e87..0ead7497e9 100644--- a/libs/ui/src/lib/value/value.component.html+++ b/libs/ui/src/lib/value/value.component.html@@ -10,8 +10,8 @@><ng-container *ngIf="isNumber || value === null"><ng-container *ngIf="colorizeSign && !useAbsoluteValue">- <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-success">+</div>+ <div *ngIf="+value < 0" class="mr-1 text-danger">-</div></ng-container><div*ngIf="isPercent"