added logging
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
@@ -163,6 +163,7 @@ var DetailComponent = (function () {
|
||||
}
|
||||
DetailComponent.prototype.ngOnInit = function () {
|
||||
var id = this.route.snapshot.params['id'];
|
||||
console.log("DetailComponentID= " + id);
|
||||
// this.dataService
|
||||
// .get(id)
|
||||
// .subscribe(res => {
|
||||
@@ -471,6 +472,7 @@ var LineChartComponent = (function () {
|
||||
this.dataService
|
||||
.get(this.id)
|
||||
.subscribe(function (res) {
|
||||
console.log("ChartComponentID= " + _this.id);
|
||||
console.log("Received from service:");
|
||||
console.log(res);
|
||||
var newDataSet2 = [];
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -46,6 +46,7 @@ export class LineChartComponent implements OnInit {
|
||||
this.dataService
|
||||
.get(this.id)
|
||||
.subscribe(res => {
|
||||
console.log("ChartComponentID= "+ this.id);
|
||||
console.log("Received from service:");
|
||||
console.log(res);
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ export class DetailComponent implements OnInit {
|
||||
ngOnInit(): void {
|
||||
|
||||
let id = this.route.snapshot.params['id'];
|
||||
console.log("DetailComponentID= " +id);
|
||||
|
||||
// this.dataService
|
||||
// .get(id)
|
||||
|
||||
Reference in New Issue
Block a user