From 0d5e85540e90dadaf3cc57a7e8dd8f060918a60a Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Mon, 6 Apr 2026 15:32:19 +0200 Subject: [PATCH] Refactor input to isInPercentage --- .../account-detail-dialog/account-detail-dialog.html | 2 +- .../app/pages/portfolio/analysis/analysis-page.html | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.html b/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.html index e41d3415c..54e786734 100644 --- a/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.html +++ b/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.html @@ -24,7 +24,7 @@ class="h-100" [currency]="user?.settings?.baseCurrency" [historicalDataItems]="historicalDataItems" - [isInPercent]=" + [isInPercentage]=" data.hasImpersonationId || user.settings.isRestrictedView " [isLoading]="isLoadingChart" diff --git a/apps/client/src/app/pages/portfolio/analysis/analysis-page.html b/apps/client/src/app/pages/portfolio/analysis/analysis-page.html index 517ad7101..c4e8f610b 100644 --- a/apps/client/src/app/pages/portfolio/analysis/analysis-page.html +++ b/apps/client/src/app/pages/portfolio/analysis/analysis-page.html @@ -417,7 +417,9 @@ [benchmarkDataLabel]="portfolioEvolutionDataLabel" [currency]="user?.settings?.baseCurrency" [historicalDataItems]="performanceDataItems" - [isInPercent]="hasImpersonationId || user.settings.isRestrictedView" + [isInPercentage]=" + hasImpersonationId || user.settings.isRestrictedView + " [isLoading]="isLoadingInvestmentChart" [locale]="user?.settings?.locale" /> @@ -473,7 +475,9 @@ [benchmarkDataLabel]="investmentTimelineDataLabel" [currency]="user?.settings?.baseCurrency" [groupBy]="mode" - [isInPercent]="hasImpersonationId || user.settings.isRestrictedView" + [isInPercentage]=" + hasImpersonationId || user.settings.isRestrictedView + " [isLoading]="isLoadingInvestmentTimelineChart" [locale]="user?.settings?.locale" [savingsRate]="savingsRate" @@ -508,7 +512,9 @@ [benchmarkDataLabel]="dividendTimelineDataLabel" [currency]="user?.settings?.baseCurrency" [groupBy]="mode" - [isInPercent]="hasImpersonationId || user.settings.isRestrictedView" + [isInPercentage]=" + hasImpersonationId || user.settings.isRestrictedView + " [isLoading]="isLoadingDividendTimelineChart" [locale]="user?.settings?.locale" />