diff --git a/apps/client/src/app/components/home-overview/home-overview.component.ts b/apps/client/src/app/components/home-overview/home-overview.component.ts index 92d80152f..74bdec311 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) {