aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-02 11:50:03 +0100
committerChocobozzz <me@florianbigard.com>2021-11-02 11:50:03 +0100
commit231ff4af3bdb864d6bc66e487b12275e5f1fb44f (patch)
treeb8537a67a26d86dcf68eb871ada8e17e286517e2 /client/src/app/+admin
parent61f85385bbd281e34573e250b2625860fd6a1408 (diff)
downloadPeerTube-231ff4af3bdb864d6bc66e487b12275e5f1fb44f.tar.gz
PeerTube-231ff4af3bdb864d6bc66e487b12275e5f1fb44f.tar.zst
PeerTube-231ff4af3bdb864d6bc66e487b12275e5f1fb44f.zip
Add ability to exclude muted accounts
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/overview/videos/video-list.component.ts20
1 files changed, 4 insertions, 16 deletions
diff --git a/client/src/app/+admin/overview/videos/video-list.component.ts b/client/src/app/+admin/overview/videos/video-list.component.ts
index ed3a86b96..31bf1707b 100644
--- a/client/src/app/+admin/overview/videos/video-list.component.ts
+++ b/client/src/app/+admin/overview/videos/video-list.component.ts
@@ -24,21 +24,7 @@ export class VideoListComponent extends RestTable implements OnInit {
24 24
25 selectedVideos: Video[] = [] 25 selectedVideos: Video[] = []
26 26
27 inputFilters: AdvancedInputFilter[] = [ 27 inputFilters: AdvancedInputFilter[]
28 {
29 title: $localize`Advanced filters`,
30 children: [
31 {
32 queryParams: { search: 'isLocal:false' },
33 label: $localize`Remote videos`
34 },
35 {
36 queryParams: { search: 'isLocal:true' },
37 label: $localize`Local videos`
38 }
39 ]
40 }
41 ]
42 28
43 videoActionsOptions: VideoActionsDisplayType = { 29 videoActionsOptions: VideoActionsDisplayType = {
44 playlist: false, 30 playlist: false,
@@ -52,7 +38,7 @@ export class VideoListComponent extends RestTable implements OnInit {
52 liveInfo: false 38 liveInfo: false
53 } 39 }
54 40
55 loading = false 41 loading = true
56 42
57 constructor ( 43 constructor (
58 protected route: ActivatedRoute, 44 protected route: ActivatedRoute,
@@ -72,6 +58,8 @@ export class VideoListComponent extends RestTable implements OnInit {
72 ngOnInit () { 58 ngOnInit () {
73 this.initialize() 59 this.initialize()
74 60
61 this.inputFilters = this.videoService.buildAdminInputFilter()
62
75 this.bulkVideoActions = [ 63 this.bulkVideoActions = [
76 [ 64 [
77 { 65 {