Bugfix/fix editing of emergency fund (#2220)
* Fix editing of emergency fund * Update changelog
This commit is contained in:
parent
2d003225bc
commit
09e95ddcee
@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- Optimized the activities import by allowing a different currency than the asset's official one
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed the editing of the emergency fund
|
||||
|
||||
## 1.298.0 - 2023-08-06
|
||||
|
||||
### Changed
|
||||
|
@ -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());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user