aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+video-channels
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+video-channels')
-rw-r--r--client/src/app/+video-channels/video-channel-videos/video-channel-videos.component.ts8
1 files changed, 1 insertions, 7 deletions
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 e05b06e5c..d83fc1324 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
@@ -16,6 +16,7 @@ import { VideoFilter } from '@shared/models'
16 ] 16 ]
17}) 17})
18export class VideoChannelVideosComponent extends AbstractVideoList implements OnInit, OnDestroy { 18export class VideoChannelVideosComponent extends AbstractVideoList implements OnInit, OnDestroy {
19 // No value because we don't want a page title
19 titlePage: string 20 titlePage: string
20 loadOnInit = false 21 loadOnInit = false
21 loadUserVideoPreferences = true 22 loadUserVideoPreferences = true
@@ -94,13 +95,6 @@ export class VideoChannelVideosComponent extends AbstractVideoList implements On
94 95
95 return this.videoService 96 return this.videoService
96 .getVideoChannelVideos(options) 97 .getVideoChannelVideos(options)
97 .pipe(
98 tap(({ total }) => {
99 this.titlePage = total === 1
100 ? $localize`Published 1 video`
101 : $localize`Published ${total} videos`
102 })
103 )
104 } 98 }
105 99
106 generateSyndicationList () { 100 generateSyndicationList () {