aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
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 {