From f0d8add4f49fdd29325a82df4fa8a358f0661425 Mon Sep 17 00:00:00 2001 From: twanariens Date: Wed, 26 May 2021 23:18:49 +0200 Subject: [PATCH] fix for no menu actions on the TV requests page when clicking on options --- .../app/requests-list/components/tv-grid/tv-grid.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Ombi/ClientApp/src/app/requests-list/components/tv-grid/tv-grid.component.ts b/src/Ombi/ClientApp/src/app/requests-list/components/tv-grid/tv-grid.component.ts index 7617808a2..5e8521302 100644 --- a/src/Ombi/ClientApp/src/app/requests-list/components/tv-grid/tv-grid.component.ts +++ b/src/Ombi/ClientApp/src/app/requests-list/components/tv-grid/tv-grid.component.ts @@ -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> {