]
})
export class AccountVideosComponent extends AbstractVideoList implements OnInit, OnDestroy {
+ // No value because we don't want a page title
titlePage: string
loadOnInit = false
loadUserVideoPreferences = true
return this.videoService
.getAccountVideos(options)
- .pipe(
- tap(({ total }) => {
- this.titlePage = $localize`Published ${total} videos`
- })
- )
}
toggleModerationDisplay () {
]
})
export class VideoChannelVideosComponent extends AbstractVideoList implements OnInit, OnDestroy {
+ // No value because we don't want a page title
titlePage: string
loadOnInit = false
loadUserVideoPreferences = true
return this.videoService
.getVideoChannelVideos(options)
- .pipe(
- tap(({ total }) => {
- this.titlePage = total === 1
- ? $localize`Published 1 video`
- : $localize`Published ${total} videos`
- })
- )
}
generateSyndicationList () {