From 51810cce8f70a3a59149505c4209e40cec66b009 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Sat, 24 Mar 2018 12:19:29 -0600 Subject: [PATCH] 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. --- web/app/admin/neb/edit/edit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/admin/neb/edit/edit.component.ts b/web/app/admin/neb/edit/edit.component.ts index aea5a7d..c269b0b 100644 --- a/web/app/admin/neb/edit/edit.component.ts +++ b/web/app/admin/neb/edit/edit.component.ts @@ -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"])); }); }