private accountSub: Subscription
constructor (
+ protected i18n: I18n,
protected router: Router,
protected serverService: ServerService,
protected route: ActivatedRoute,
protected notifier: Notifier,
protected confirmService: ConfirmService,
protected screenService: ScreenService,
- private i18n: I18n,
private accountService: AccountService,
private videoService: VideoService
) {
return this.videoService
.getAccountVideos(this.account, newPagination, this.sort)
.pipe(
- tap(({ totalVideos }) => {
- this.titlePage = this.i18n('Published {{totalVideos}} videos', { totalVideos })
+ tap(({ total }) => {
+ this.titlePage = this.i18n('Published {{total}} videos', { total })
})
)
}