Thomas
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
apps/client/src/app/components/investment-chart/investment-chart.component.ts
|
@ -73,7 +73,7 @@ export class InvestmentChartComponent implements OnChanges, OnDestroy, OnInit { |
|
|
const lastItem = this.investments[this.investments.length - 1]; |
|
|
const lastItem = this.investments[this.investments.length - 1]; |
|
|
this.investments.push({ |
|
|
this.investments.push({ |
|
|
...lastItem, |
|
|
...lastItem, |
|
|
date: addMonths(parseISO(lastItem.date), 3).toISOString() |
|
|
date: addMonths(new Date(), 3).toISOString() |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|