Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/improve labels in portfolio evolution chart and investment timeline (#2892)

Thomas Kaule763bfb2e20e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4e5f1dcb06..1e11d9b40c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+- Improved the labels in the portfolio evolution chart and investment timeline on the analysis page
- Upgraded `prisma` from version `5.7.1` to `5.8.1`
## 2.41.0 - 2024-01-16
diff --git a/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts b/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts
index 0ed7c4444f..7fd5b342d2 100644
--- a/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts
+++ b/apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts
@@ -46,7 +46,7 @@ export class AnalysisPageComponent implements OnDestroy, OnInit {
public firstOrderDate: Date;
public hasImpersonationId: boolean;
public investments: InvestmentItem[];
- public investmentTimelineDataLabel = $localize`Deposit`;
+ public investmentTimelineDataLabel = $localize`Investment`;
public investmentsByGroup: InvestmentItem[];
public isLoadingBenchmarkComparator: boolean;
public isLoadingInvestmentChart: boolean;
@@ -59,7 +59,7 @@ export class AnalysisPageComponent implements OnDestroy, OnInit {
public performanceDataItems: HistoricalDataItem[];
public performanceDataItemsInPercentage: HistoricalDataItem[];
public placeholder = '';
- public portfolioEvolutionDataLabel = $localize`Deposit`;
+ public portfolioEvolutionDataLabel = $localize`Investment`;
public streaks: PortfolioInvestments['streaks'];
public top3: Position[];
public unitCurrentStreak: string;