testt
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -162,8 +162,8 @@ var DetailComponent = (function () {
|
||||
this.route = route;
|
||||
}
|
||||
DetailComponent.prototype.ngOnInit = function () {
|
||||
var id = this.route.snapshot.params['id'];
|
||||
console.log("DetailComponentID= " + id);
|
||||
this.id = this.route.snapshot.params['id'];
|
||||
console.log("DetailComponentID= " + this.id);
|
||||
// this.dataService
|
||||
// .get(id)
|
||||
// .subscribe(res => {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -11,13 +11,15 @@ import {LineChartComponent} from "./chart.component";
|
||||
|
||||
export class DetailComponent implements OnInit {
|
||||
|
||||
public id:string;
|
||||
|
||||
constructor(private dataService: DataService,
|
||||
private route: ActivatedRoute) {}
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
let id = this.route.snapshot.params['id'];
|
||||
console.log("DetailComponentID= " +id);
|
||||
this.id = this.route.snapshot.params['id'];
|
||||
console.log("DetailComponentID= " + this.id);
|
||||
|
||||
// this.dataService
|
||||
// .get(id)
|
||||
|
||||
Reference in New Issue
Block a user