This commit is contained in:
2017-04-05 12:53:21 +02:00
parent cff7dd5338
commit 563d81d742
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export class DetailComponent implements OnInit {
ngOnInit(): void {
let id = this.route.params['id'];
let id = this.route.snapshot.params['id'];
this.dataService
.get(id)
+1 -1
View File
@@ -27,7 +27,7 @@ export class DeviceComponent implements OnInit {
}
goToDetail(id:string): void {
goToDetails(id:string): void {
this.router.navigate(['/detail', id]);
}