diff --git a/apps/api/src/app/portfolio/portfolio.controller.ts b/apps/api/src/app/portfolio/portfolio.controller.ts index 80ea08fce..e4580f1f3 100644 --- a/apps/api/src/app/portfolio/portfolio.controller.ts +++ b/apps/api/src/app/portfolio/portfolio.controller.ts @@ -418,6 +418,7 @@ export class PortfolioController { ({ date, netPerformanceInPercentage, + netPerformanceInPercentageWithCurrencyEffect, netWorth, totalInvestment, value @@ -425,6 +426,7 @@ export class PortfolioController { return { date, netPerformanceInPercentage, + netPerformanceInPercentageWithCurrencyEffect, netWorthInPercentage: performanceInformation.performance.currentNetWorth === 0 ? 0 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 7beb322a2..75e177749 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 @@ -124,7 +124,6 @@ export class HomeOverviewComponent implements OnDestroy, OnInit { .subscribe(({ chart, errors, performance }) => { this.errors = errors; this.performance = performance; - this.isLoadingPerformance = false; this.historicalDataItems = chart.map( ({ date, netPerformanceInPercentageWithCurrencyEffect }) => { @@ -135,6 +134,8 @@ export class HomeOverviewComponent implements OnDestroy, OnInit { } ); + this.isLoadingPerformance = false; + this.changeDetectorRef.markForCheck(); });