This commit is contained in:
Alexis Lahouze 2017-07-27 14:28:28 +02:00
parent 27e3307a8e
commit 13ffa1dc98
1 changed files with 0 additions and 8 deletions

View File

@ -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);