From 231ff4af3bdb864d6bc66e487b12275e5f1fb44f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 2 Nov 2021 11:50:03 +0100 Subject: Add ability to exclude muted accounts --- .../+admin/overview/videos/video-list.component.ts | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'client/src/app/+admin') 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 { selectedVideos: Video[] = [] - inputFilters: AdvancedInputFilter[] = [ - { - title: $localize`Advanced filters`, - children: [ - { - queryParams: { search: 'isLocal:false' }, - label: $localize`Remote videos` - }, - { - queryParams: { search: 'isLocal:true' }, - label: $localize`Local videos` - } - ] - } - ] + inputFilters: AdvancedInputFilter[] videoActionsOptions: VideoActionsDisplayType = { playlist: false, @@ -52,7 +38,7 @@ export class VideoListComponent extends RestTable implements OnInit { liveInfo: false } - loading = false + loading = true constructor ( protected route: ActivatedRoute, @@ -72,6 +58,8 @@ export class VideoListComponent extends RestTable implements OnInit { ngOnInit () { this.initialize() + this.inputFilters = this.videoService.buildAdminInputFilter() + this.bulkVideoActions = [ [ { -- cgit v1.2.3