diff --git a/CHANGELOG.md b/CHANGELOG.md index a7f27dd4e..1a87462d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fixed the editing of the emergency fund - Fixed the historical data gathering interval for asset profiles used as benchmarks having activities ## 1.298.0 - 2023-08-06 diff --git a/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.ts b/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.ts index 518aa0a64..337fc5211 100644 --- a/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.ts +++ b/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.ts @@ -50,7 +50,7 @@ export class PortfolioSummaryComponent implements OnChanges, OnInit { public onEditEmergencyFund() { const emergencyFundInput = prompt( $localize`Please enter the amount of your emergency fund:`, - this.summary.emergencyFund?.toString() ?? '0' + this.summary.emergencyFund?.total?.toString() ?? '0' ); const emergencyFund = parseFloat(emergencyFundInput?.trim());