Browse Source

fix(client): set to null

pull/6831/head
KenTandrian 3 weeks ago
parent
commit
86be14e7dc
  1. 4
      apps/client/src/app/pages/portfolio/fire/fire-page.component.ts

4
apps/client/src/app/pages/portfolio/fire/fire-page.component.ts

@ -174,7 +174,7 @@ export class GfFirePageComponent implements OnInit {
this.dataService this.dataService
.putUserSetting({ .putUserSetting({
projectedTotalAmount, projectedTotalAmount,
retirementDate: undefined retirementDate: null
}) })
.pipe(takeUntilDestroyed(this.destroyRef)) .pipe(takeUntilDestroyed(this.destroyRef))
.subscribe(() => { .subscribe(() => {
@ -192,7 +192,7 @@ export class GfFirePageComponent implements OnInit {
protected onRetirementDateChange(retirementDate: Date) { protected onRetirementDateChange(retirementDate: Date) {
this.dataService this.dataService
.putUserSetting({ .putUserSetting({
projectedTotalAmount: undefined, projectedTotalAmount: null,
retirementDate: retirementDate.toISOString() retirementDate: retirementDate.toISOString()
}) })
.pipe(takeUntilDestroyed(this.destroyRef)) .pipe(takeUntilDestroyed(this.destroyRef))

Loading…
Cancel
Save