mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-23 14:35:24 -07:00
Fix actor page not loading after actor change
This commit is contained in:
parent
8db7c84ad2
commit
07cde058ed
1 changed files with 3 additions and 0 deletions
|
@ -26,9 +26,12 @@ export class DiscoverActorComponent {
|
||||||
private route: ActivatedRoute,
|
private route: ActivatedRoute,
|
||||||
private filterService: FilterService,
|
private filterService: FilterService,
|
||||||
private auth: AuthService) {
|
private auth: AuthService) {
|
||||||
|
|
||||||
|
this.filter = this.filterService.filter;
|
||||||
this.route.params.subscribe((params: any) => {
|
this.route.params.subscribe((params: any) => {
|
||||||
this.actorId = params.actorId;
|
this.actorId = params.actorId;
|
||||||
this.isAdmin = this.auth.isAdmin();
|
this.isAdmin = this.auth.isAdmin();
|
||||||
|
this.search();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue