testt
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+4
-1
@@ -246,7 +246,10 @@ var LineChartComponent = (function () {
|
||||
var _this = this;
|
||||
this.dataService
|
||||
.get()
|
||||
.subscribe(function (res) { return _this.lineChartData[0].data = res.data; });
|
||||
.subscribe(function (res) {
|
||||
console.log(res);
|
||||
_this.lineChartData[0].data = res.data;
|
||||
});
|
||||
console.log("Init");
|
||||
};
|
||||
LineChartComponent = __decorate([
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -44,7 +44,10 @@ export class LineChartComponent implements OnInit {
|
||||
|
||||
this.dataService
|
||||
.get()
|
||||
.subscribe(res => this.lineChartData[0].data = res.data);
|
||||
.subscribe(res => {
|
||||
console.log(res);
|
||||
this.lineChartData[0].data = res.data;
|
||||
});
|
||||
|
||||
console.log("Init");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user