From 13ffa1dc9841e9cb997e5c47c0a0fcde0573fde9 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 27 Jul 2017 14:28:28 +0200 Subject: [PATCH] Cleanup. --- src/operations/balanceChart.component.ts | 8 -------- 1 file changed, 8 deletions(-) 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);