Browse Source
Bugfix/fix editing of emergency fund (#2220)
* Fix editing of emergency fund
* Update changelog
pull/2221/head^2
Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
1 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/portfolio-summary/portfolio-summary.component.ts
|
@ -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 |
|
|
- 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 |
|
|
## 1.298.0 - 2023-08-06 |
|
|
|
|
|
|
|
|
### Changed |
|
|
### Changed |
|
|
|
@ -50,7 +50,7 @@ export class PortfolioSummaryComponent implements OnChanges, OnInit { |
|
|
public onEditEmergencyFund() { |
|
|
public onEditEmergencyFund() { |
|
|
const emergencyFundInput = prompt( |
|
|
const emergencyFundInput = prompt( |
|
|
$localize`Please enter the amount of your emergency fund:`, |
|
|
$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()); |
|
|
const emergencyFund = parseFloat(emergencyFundInput?.trim()); |
|
|
|
|
|
|
|
|