From b52e2c138b1edb15593f5944092f95d48aac2c7a Mon Sep 17 00:00:00 2001 From: twanariens Date: Tue, 18 May 2021 23:38:08 +0200 Subject: [PATCH 1/2] The struggles are real --- .../src/app/issues/issuestable.component.scss | 13 +++++++++++++ .../src/app/issues/issuestable.component.ts | 1 + 2 files changed, 14 insertions(+) create mode 100644 src/Ombi/ClientApp/src/app/issues/issuestable.component.scss diff --git a/src/Ombi/ClientApp/src/app/issues/issuestable.component.scss b/src/Ombi/ClientApp/src/app/issues/issuestable.component.scss new file mode 100644 index 000000000..c493df5a3 --- /dev/null +++ b/src/Ombi/ClientApp/src/app/issues/issuestable.component.scss @@ -0,0 +1,13 @@ +.small-middle-container { + margin: auto; + width: 95%; +} + +.table thead th{ + border-bottom-width: 1px; + border-bottom-style: solid; +} + +.table th{ + border-top:none; +} \ No newline at end of file diff --git a/src/Ombi/ClientApp/src/app/issues/issuestable.component.ts b/src/Ombi/ClientApp/src/app/issues/issuestable.component.ts index 0fd81a534..f30a953d6 100644 --- a/src/Ombi/ClientApp/src/app/issues/issuestable.component.ts +++ b/src/Ombi/ClientApp/src/app/issues/issuestable.component.ts @@ -6,6 +6,7 @@ import { IIssuesSummary, IPagenator, IssueStatus } from "../interfaces"; @Component({ selector: "issues-table", templateUrl: "issuestable.component.html", + styleUrls: ['issuestable.component.scss'] }) export class IssuesTableComponent { From f0d8add4f49fdd29325a82df4fa8a358f0661425 Mon Sep 17 00:00:00 2001 From: twanariens Date: Wed, 26 May 2021 23:18:49 +0200 Subject: [PATCH 2/2] 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> {