added logging

This commit is contained in:
Bluepr1nt
2017-04-05 13:25:27 +02:00
parent 6d13768158
commit 6757c651bc
5 changed files with 6 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -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 = [];
+1 -1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -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);
+1
View File
@@ -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)