aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-abuse-list
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-20 09:05:43 +0200
committerChocobozzz <me@florianbigard.com>2021-10-20 09:25:44 +0200
commit978c87e7f58b6673fe60f04f1767bc9e02ea4936 (patch)
treee7d48735d4099fec8c7732f33e7dadb09c0eac80 /client/src/app/shared/shared-abuse-list
parent7e76cc380040e40a2292a9dc825f037c9b538030 (diff)
downloadPeerTube-978c87e7f58b6673fe60f04f1767bc9e02ea4936.tar.gz
PeerTube-978c87e7f58b6673fe60f04f1767bc9e02ea4936.tar.zst
PeerTube-978c87e7f58b6673fe60f04f1767bc9e02ea4936.zip
Add channel filters for my videos/followers
Diffstat (limited to 'client/src/app/shared/shared-abuse-list')
-rw-r--r--client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts41
1 files changed, 23 insertions, 18 deletions
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 {
39 39
40 inputFilters: AdvancedInputFilter[] = [ 40 inputFilters: AdvancedInputFilter[] = [
41 { 41 {
42 queryParams: { search: 'state:pending' }, 42 title: $localize`Advanced filters`,
43 label: $localize`Unsolved reports` 43 children: [
44 }, 44 {
45 { 45 queryParams: { search: 'state:pending' },
46 queryParams: { search: 'state:accepted' }, 46 label: $localize`Unsolved reports`
47 label: $localize`Accepted reports` 47 },
48 }, 48 {
49 { 49 queryParams: { search: 'state:accepted' },
50 queryParams: { search: 'state:rejected' }, 50 label: $localize`Accepted reports`
51 label: $localize`Refused reports` 51 },
52 }, 52 {
53 { 53 queryParams: { search: 'state:rejected' },
54 queryParams: { search: 'videoIs:blacklisted' }, 54 label: $localize`Refused reports`
55 label: $localize`Reports with blocked videos` 55 },
56 }, 56 {
57 { 57 queryParams: { search: 'videoIs:blacklisted' },
58 queryParams: { search: 'videoIs:deleted' }, 58 label: $localize`Reports with blocked videos`
59 label: $localize`Reports with deleted videos` 59 },
60 {
61 queryParams: { search: 'videoIs:deleted' },
62 label: $localize`Reports with deleted videos`
63 }
64 ]
60 } 65 }
61 ] 66 ]
62 67