|
@ -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()); |
|
|
|
|
|
|
|
|