Check exec order
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
@@ -173,6 +173,7 @@ var DetailComponent = (function () {
|
|||||||
_this.data = res.HOV;
|
_this.data = res.HOV;
|
||||||
_this.data2 = res.TOE1;
|
_this.data2 = res.TOE1;
|
||||||
_this.loaded = true;
|
_this.loaded = true;
|
||||||
|
console.log("Data loaded from API");
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
DetailComponent = __decorate([
|
DetailComponent = __decorate([
|
||||||
@@ -478,6 +479,7 @@ var LineChartComponent = (function () {
|
|||||||
this.lineChartType = 'line';
|
this.lineChartType = 'line';
|
||||||
}
|
}
|
||||||
LineChartComponent.prototype.ngOnInit = function () {
|
LineChartComponent.prototype.ngOnInit = function () {
|
||||||
|
console.log("Initializing Chart");
|
||||||
this.lineChartLabels = this.label.data.slice();
|
this.lineChartLabels = this.label.data.slice();
|
||||||
console.log("Updated labels array");
|
console.log("Updated labels array");
|
||||||
console.log(this.lineChartLabels);
|
console.log(this.lineChartLabels);
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -46,6 +46,8 @@ export class LineChartComponent implements OnInit {
|
|||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
|
||||||
|
console.log("Initializing Chart");
|
||||||
|
|
||||||
this.lineChartLabels = this.label.data.slice();
|
this.lineChartLabels = this.label.data.slice();
|
||||||
|
|
||||||
console.log("Updated labels array");
|
console.log("Updated labels array");
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ export class DetailComponent implements OnInit {
|
|||||||
this.data2 = res.TOE1;
|
this.data2 = res.TOE1;
|
||||||
|
|
||||||
this.loaded = true;
|
this.loaded = true;
|
||||||
|
console.log("Data loaded from API");
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user