Moved ngIF

This commit is contained in:
2017-04-05 14:17:17 +02:00
parent 24ca7b1c7f
commit b2aca0ad71
7 changed files with 10 additions and 18 deletions
+1 -3
View File
@@ -46,9 +46,7 @@ export class LineChartComponent implements OnInit {
ngOnInit(): void {
//const newDataSet2 = [];
//newDataSet2.push(res.labels.data.slice());
this.lineChartLabels = this.label.data.slice(); //newDataSet2;
this.lineChartLabels = this.label.data.slice();
console.log("Updated labels array");
console.log(this.lineChartLabels);