mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
fix for no menu actions on the TV requests page when clicking on options
This commit is contained in:
parent
166e2dc34f
commit
f0d8add4f4
1 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@ export class TvGridComponent implements OnInit, AfterViewInit {
|
|||
public currentFilter: RequestFilterType = RequestFilterType.All;
|
||||
|
||||
public RequestFilter = RequestFilterType;
|
||||
public manageOwnRequests: boolean;
|
||||
|
||||
private storageKey = "Tv_DefaultRequestListSort";
|
||||
private storageKeyOrder = "Tv_DefaultRequestListSortOrder";
|
||||
|
@ -107,7 +108,8 @@ export class TvGridComponent implements OnInit, AfterViewInit {
|
|||
this.ref.detectChanges();
|
||||
};
|
||||
|
||||
this.onOpenOptions.emit({request: request, filter: filter, onChange});
|
||||
const data = { request: request, filter: filter, onChange: onChange, manageOwnRequests: this.manageOwnRequests, isAdmin: this.isAdmin };
|
||||
this.onOpenOptions.emit(data);
|
||||
}
|
||||
|
||||
private loadData(): Observable<IRequestsViewModel<IChildRequests>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue