diff --git a/src/operations/balanceChart.component.ts b/src/operations/balanceChart.component.ts index ed7d2ee..4c1028f 100644 --- a/src/operations/balanceChart.component.ts +++ b/src/operations/balanceChart.component.ts @@ -69,10 +69,6 @@ export class BalanceChartComponent implements OnInit, OnChanges { }); }; - $onInit() { - this.ngOnInit(); - } - ngOnInit() { var tomorrow = moment().endOf('day').valueOf(); @@ -173,10 +169,6 @@ export class BalanceChartComponent implements OnInit, OnChanges { } }; - $onChanges(changes) { - this.ngOnChanges(changes); - } - ngOnChanges(changes) { if('account' in changes) { this.setLines(changes.account.currentValue);