Check exec order

This commit is contained in:
2017-04-05 14:27:57 +02:00
parent d4e654136e
commit 6a3c7e7f28
5 changed files with 7 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -173,6 +173,7 @@ var DetailComponent = (function () {
_this.data = res.HOV;
_this.data2 = res.TOE1;
_this.loaded = true;
console.log("Data loaded from API");
});
};
DetailComponent = __decorate([
@@ -478,6 +479,7 @@ var LineChartComponent = (function () {
this.lineChartType = 'line';
}
LineChartComponent.prototype.ngOnInit = function () {
console.log("Initializing Chart");
this.lineChartLabels = this.label.data.slice();
console.log("Updated labels array");
console.log(this.lineChartLabels);
+1 -1
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -46,6 +46,8 @@ export class LineChartComponent implements OnInit {
ngOnInit(): void {
console.log("Initializing Chart");
this.lineChartLabels = this.label.data.slice();
console.log("Updated labels array");
+1
View File
@@ -37,6 +37,7 @@ export class DetailComponent implements OnInit {
this.data2 = res.TOE1;
this.loaded = true;
console.log("Data loaded from API");
});