Cleanup.
This commit is contained in:
parent
27e3307a8e
commit
13ffa1dc98
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user