mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-08-31 14:12:08 +00:00
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:
parent
62d81ed842
commit
51810cce8f
@ -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"]));
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user