Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Bugfix/fix unit in overview of home page (#2626)
Thomas Kaul3a66ccdebe20
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 6a8a517f53..a38fc82ad1 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -9,13 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Fixed+- Fixed the unit for the _Zen Mode_ in the overview tab of the home page- Fixed an issue to get quotes in the _Financial Modeling Prep_ service## 2.20.0 - 2023-11-08### Changed-- Removed the loading indicator of the unit on the overview tab of the home page+- Removed the loading indicator of the unit in the overview tab of the home page- Improved the import of historical market data in the admin control panel- Increased the timeout in the health check endpoint for data enhancers- Increased the timeout in the health check endpoint for data providersdiff --git a/apps/client/src/app/components/home-overview/home-overview.component.ts b/apps/client/src/app/components/home-overview/home-overview.component.tsindex 92d80152fc..74bdec3110 100644--- a/apps/client/src/app/components/home-overview/home-overview.component.ts+++ b/apps/client/src/app/components/home-overview/home-overview.component.ts@@ -70,10 +70,6 @@ export class HomeOverviewComponent implements OnDestroy, OnInit {.subscribe((impersonationId) => {this.hasImpersonationId = !!impersonationId;- this.unit = this.hasImpersonationId- ? '%'- : this.user?.settings?.baseCurrency;-this.changeDetectorRef.markForCheck();});@@ -81,6 +77,8 @@ export class HomeOverviewComponent implements OnDestroy, OnInit {!this.hasImpersonationId &&!this.user.settings.isRestrictedView &&this.user.settings.viewMode !== 'ZEN';++ this.unit = this.showDetails ? this.user.settings.baseCurrency : '%';}public onChangeDateRange(dateRange: DateRange) {