Browse Source

Extend investment chart by three months

pull/273/head
Thomas 4 years ago
parent
commit
a8d13c4893
  1. 2
      apps/client/src/app/components/investment-chart/investment-chart.component.ts

2
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];
this.investments.push({
...lastItem,
date: addMonths(parseISO(lastItem.date), 3).toISOString()
date: addMonths(new Date(), 3).toISOString()
});
}

Loading…
Cancel
Save