aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-custom-markup/peertube-custom-tags/videos-list-markup.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-custom-markup/peertube-custom-tags/videos-list-markup.component.ts')
-rw-r--r--client/src/app/shared/shared-custom-markup/peertube-custom-tags/videos-list-markup.component.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-custom-markup/peertube-custom-tags/videos-list-markup.component.ts b/client/src/app/shared/shared-custom-markup/peertube-custom-tags/videos-list-markup.component.ts
index d9f77802b..6473e9ba0 100644
--- a/client/src/app/shared/shared-custom-markup/peertube-custom-tags/videos-list-markup.component.ts
+++ b/client/src/app/shared/shared-custom-markup/peertube-custom-tags/videos-list-markup.component.ts
@@ -22,6 +22,7 @@ export class VideosListMarkupComponent implements CustomMarkupComponent, OnInit
22 @Input() count: number 22 @Input() count: number
23 @Input() onlyDisplayTitle: boolean 23 @Input() onlyDisplayTitle: boolean
24 @Input() filter: VideoFilter 24 @Input() filter: VideoFilter
25 @Input() isLive: boolean
25 @Input() maxRows: number 26 @Input() maxRows: number
26 @Input() channelHandle: string 27 @Input() channelHandle: string
27 @Input() accountHandle: string 28 @Input() accountHandle: string
@@ -73,7 +74,7 @@ export class VideosListMarkupComponent implements CustomMarkupComponent, OnInit
73 .subscribe( 74 .subscribe(
74 ({ data }) => this.videos = data, 75 ({ data }) => this.videos = data,
75 76
76 err => this.notifier.error('Error in videos list component: ' + err.message) 77 err => this.notifier.error($localize`Error in videos list component: ${err.message}`)
77 ) 78 )
78 } 79 }
79 80
@@ -86,6 +87,7 @@ export class VideosListMarkupComponent implements CustomMarkupComponent, OnInit
86 categoryOneOf: this.categoryOneOf, 87 categoryOneOf: this.categoryOneOf,
87 languageOneOf: this.languageOneOf, 88 languageOneOf: this.languageOneOf,
88 filter: this.filter, 89 filter: this.filter,
90 isLive: this.isLive,
89 sort: this.sort as VideoSortField, 91 sort: this.sort as VideoSortField,
90 account: { nameWithHost: this.accountHandle }, 92 account: { nameWithHost: this.accountHandle },
91 videoChannel: { nameWithHost: this.channelHandle } 93 videoChannel: { nameWithHost: this.channelHandle }