Fix not being able to edit go-neb instances

The linter required us to use === later on, but this breaks the navigation. We now cast the parameter.
This commit is contained in:
Travis Ralston 2018-03-24 12:19:29 -06:00
parent 62d81ed842
commit 51810cce8f

View file

@ -26,7 +26,7 @@ export class AdminEditNebComponent implements OnInit, OnDestroy {
public ngOnInit() {
this.subscription = this.route.params.subscribe(params => {
this.loadNeb(params["nebId"]);
this.loadNeb(Number(params["nebId"]));
});
}