This commit is contained in:
Alexis Lahouze 2017-07-27 14:28:28 +02:00
parent 27e3307a8e
commit 13ffa1dc98

View File

@ -69,10 +69,6 @@ export class BalanceChartComponent implements OnInit, OnChanges {
}); });
}; };
$onInit() {
this.ngOnInit();
}
ngOnInit() { ngOnInit() {
var tomorrow = moment().endOf('day').valueOf(); var tomorrow = moment().endOf('day').valueOf();
@ -173,10 +169,6 @@ export class BalanceChartComponent implements OnInit, OnChanges {
} }
}; };
$onChanges(changes) {
this.ngOnChanges(changes);
}
ngOnChanges(changes) { ngOnChanges(changes) {
if('account' in changes) { if('account' in changes) {
this.setLines(changes.account.currentValue); this.setLines(changes.account.currentValue);