Debug.
This commit is contained in:
parent
100e7d2d8b
commit
ffbae85e11
@ -9,6 +9,7 @@ import {
|
||||
} from '@angular/core';
|
||||
import { ActivatedRoute, Router, ParamMap } from '@angular/router';
|
||||
|
||||
import { Logger } from '@nsalaun/ng-logger';
|
||||
import { jqxChartComponent } from 'jqwidgets-scripts/jqwidgets-ts/angular_jqxchart';
|
||||
|
||||
import { Account } from '../accounts/account';
|
||||
@ -122,12 +123,15 @@ export class BalanceChartComponent implements OnInit, OnChanges {
|
||||
constructor(
|
||||
private router: Router,
|
||||
private activatedRoute: ActivatedRoute,
|
||||
private logger: Logger,
|
||||
private dailyBalanceService: DailyBalanceService,
|
||||
) {
|
||||
this.data = [];
|
||||
}
|
||||
|
||||
loadData() {
|
||||
this.logger.info('Loading data.');
|
||||
|
||||
let accountId = this.activatedRoute.snapshot.paramMap.get('accountId');
|
||||
|
||||
this.dailyBalanceService.query(
|
||||
|
Loading…
Reference in New Issue
Block a user