X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideo-channels%2Fvideo-channel-videos%2Fvideo-channel-videos.component.ts;h=5749701e83bb8cdbaab589a4498a3f551844b264;hb=5c20a45518c3afc40c9494cad4a78def92e5e288;hp=9eaa3ba325a924ece0948d0e9b2f2a1b7ee56ad6;hpb=610d0be13b3d01f653ef269271dd667a57c85ef2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts b/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts index 9eaa3ba32..5749701e8 100644 --- a/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts +++ b/client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts @@ -47,6 +47,10 @@ export class VideoChannelVideosComponent extends AbstractVideoList implements On super() this.titlePage = this.i18n('Published videos') + this.displayOptions = { + ...this.displayOptions, + avatar: false + } } ngOnInit () { @@ -73,7 +77,7 @@ export class VideoChannelVideosComponent extends AbstractVideoList implements On const newPagination = immutableAssign(this.pagination, { currentPage: page }) return this.videoService - .getVideoChannelVideos(this.videoChannel, newPagination, this.sort) + .getVideoChannelVideos(this.videoChannel, newPagination, this.sort, this.nsfwPolicy) .pipe( tap(({ total }) => { this.titlePage = this.i18n(`{total, plural, =1 {Published 1 video} other {Published {{total}} videos}}`, { total })