Forgot to build

This commit is contained in:
2017-04-05 12:55:43 +02:00
parent 563d81d742
commit bd502b0677
3 changed files with 4 additions and 4 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -144,7 +144,7 @@ var DetailComponent = (function () {
this.route = route;
}
DetailComponent.prototype.ngOnInit = function () {
var id = this.route.params['id'];
var id = this.route.snapshot.params['id'];
this.dataService
.get(id)
.subscribe(function (res) {
@@ -197,7 +197,7 @@ var DeviceComponent = (function () {
_this.devices = res;
});
};
DeviceComponent.prototype.goToDetail = function (id) {
DeviceComponent.prototype.goToDetails = function (id) {
this.router.navigate(['/detail', id]);
};
DeviceComponent = __decorate([
+1 -1
View File
File diff suppressed because one or more lines are too long