From 978c87e7f58b6673fe60f04f1767bc9e02ea4936 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 20 Oct 2021 09:05:43 +0200 Subject: Add channel filters for my videos/followers --- .../abuse-list-table.component.ts | 41 ++++++++++++---------- 1 file changed, 23 insertions(+), 18 deletions(-) (limited to 'client/src/app/shared/shared-abuse-list') diff --git a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts index 33e9fd8de..297993e39 100644 --- a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts +++ b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts @@ -39,24 +39,29 @@ export class AbuseListTableComponent extends RestTable implements OnInit { inputFilters: AdvancedInputFilter[] = [ { - queryParams: { search: 'state:pending' }, - label: $localize`Unsolved reports` - }, - { - queryParams: { search: 'state:accepted' }, - label: $localize`Accepted reports` - }, - { - queryParams: { search: 'state:rejected' }, - label: $localize`Refused reports` - }, - { - queryParams: { search: 'videoIs:blacklisted' }, - label: $localize`Reports with blocked videos` - }, - { - queryParams: { search: 'videoIs:deleted' }, - label: $localize`Reports with deleted videos` + title: $localize`Advanced filters`, + children: [ + { + queryParams: { search: 'state:pending' }, + label: $localize`Unsolved reports` + }, + { + queryParams: { search: 'state:accepted' }, + label: $localize`Accepted reports` + }, + { + queryParams: { search: 'state:rejected' }, + label: $localize`Refused reports` + }, + { + queryParams: { search: 'videoIs:blacklisted' }, + label: $localize`Reports with blocked videos` + }, + { + queryParams: { search: 'videoIs:deleted' }, + label: $localize`Reports with deleted videos` + } + ] } ] -- cgit v1.2.3