Browse Source
Merge branch 'main' into bugfix/add-missing-country-mapping-for-korea-in-financial-modeling-prep-service
pull/8096/head
Thomas Kaul
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
22 additions and
27 deletions
-
CHANGELOG.md
-
apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts
|
|
|
@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Fixed the missing first data point in the portfolio evolution chart on the analysis page |
|
|
|
- Fixed the missing mapping for Korea in the country weightings of the _Financial Modeling Prep_ service |
|
|
|
|
|
|
|
## 3.81.0 - 2026-10-07 |
|
|
|
|
|
|
|
@ -329,19 +329,14 @@ export class GfAnalysisPageComponent implements OnInit { |
|
|
|
this.performanceDataItems = []; |
|
|
|
this.performanceDataItemsInPercentage = []; |
|
|
|
|
|
|
|
for (const [ |
|
|
|
index, |
|
|
|
{ |
|
|
|
for (const { |
|
|
|
date, |
|
|
|
dividendInPercentageWithCurrencyEffect, |
|
|
|
netPerformanceInPercentageWithCurrencyEffect, |
|
|
|
totalInvestmentValueWithCurrencyEffect, |
|
|
|
valueInPercentage, |
|
|
|
valueWithCurrencyEffect |
|
|
|
} |
|
|
|
] of (chart ?? []).entries()) { |
|
|
|
// Ignore first item where value is 0
|
|
|
|
if (index > 0 || this.user?.settings?.dateRange === 'max') { |
|
|
|
} of chart ?? []) { |
|
|
|
if (totalInvestmentValueWithCurrencyEffect !== undefined) { |
|
|
|
this.investments.push({ |
|
|
|
date, |
|
|
|
@ -359,7 +354,6 @@ export class GfAnalysisPageComponent implements OnInit { |
|
|
|
value |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (isNumber(netPerformanceInPercentageWithCurrencyEffect)) { |
|
|
|
this.performanceDataItemsInPercentage.push({ |
|
|
|
|