Browse Source
Bugfix/fix exception in admin market data detail component (#3731)
* Add check for dateOfFirstActivity
* Update changelog
pull/3737/head
Thomas Kaul
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
39 additions and
38 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/admin-market-data-detail/admin-market-data-detail.component.ts
|
|
@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
- Fixed an issue in the view mode toggle of the holdings tab on the home page (experimental) |
|
|
|
- Fixed an issue on the portfolio activities page by loading the data only once |
|
|
|
- Fixed an issue in the carousel component for the testimonial section on the landing page |
|
|
|
- Handled an exception in the historical market data component of the asset profile details dialog in the admin control panel |
|
|
|
|
|
|
|
## 2.105.0 - 2024-08-21 |
|
|
|
|
|
|
|
|
|
@ -93,6 +93,7 @@ export class AdminMarketDataDetailComponent implements OnChanges, OnInit { |
|
|
|
}; |
|
|
|
}); |
|
|
|
|
|
|
|
if (this.dateOfFirstActivity) { |
|
|
|
let date = parseISO(this.dateOfFirstActivity); |
|
|
|
|
|
|
|
const missingMarketData: Partial<MarketData>[] = []; |
|
|
@ -138,7 +139,6 @@ export class AdminMarketDataDetailComponent implements OnChanges, OnInit { |
|
|
|
}; |
|
|
|
} |
|
|
|
|
|
|
|
if (this.dateOfFirstActivity) { |
|
|
|
// Fill up missing months
|
|
|
|
const dates = Object.keys(this.marketDataByMonth).sort(); |
|
|
|
const startDate = min([ |
|
|
|