diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-25 16:22:33 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-25 16:22:33 +0100 |
commit | 357308ce22e235428ee5c48aaca9308ed194c01a (patch) | |
tree | 098ed8c22fa45ae30367d2345c74b30d03d94e76 /client/src/app/+admin/overview/videos | |
parent | 6de076222aca7005371e01768171efdc62ed8018 (diff) | |
download | PeerTube-357308ce22e235428ee5c48aaca9308ed194c01a.tar.gz PeerTube-357308ce22e235428ee5c48aaca9308ed194c01a.tar.zst PeerTube-357308ce22e235428ee5c48aaca9308ed194c01a.zip |
Always list nsfw videos in admin
Diffstat (limited to 'client/src/app/+admin/overview/videos')
-rw-r--r-- | client/src/app/+admin/overview/videos/video-list.component.ts | 1 |
1 files changed, 1 insertions, 0 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 1ea295499..ebf82ce16 100644 --- a/client/src/app/+admin/overview/videos/video-list.component.ts +++ b/client/src/app/+admin/overview/videos/video-list.component.ts | |||
@@ -205,6 +205,7 @@ export class VideoListComponent extends RestTable <Video> implements OnInit { | |||
205 | this.videoAdminService.getAdminVideos({ | 205 | this.videoAdminService.getAdminVideos({ |
206 | pagination: this.pagination, | 206 | pagination: this.pagination, |
207 | sort: this.sort, | 207 | sort: this.sort, |
208 | nsfw: 'both', // Always list NSFW video, overriding instance/user setting | ||
208 | search: this.search | 209 | search: this.search |
209 | }).pipe(finalize(() => this.loading = false)) | 210 | }).pipe(finalize(() => this.loading = false)) |
210 | .subscribe({ | 211 | .subscribe({ |