const channelFilters = this.userChannels.map(c => {
return {
- queryParams: { search: 'channel:' + c.name },
+ value: 'channel:' + c.name,
label: c.name
}
})
title: $localize`Advanced filters`,
children: [
{
- queryParams: { search: 'isLive:true' },
+ value: 'isLive:true',
label: $localize`Only live videos`
}
]
private buildActions () {
this.videoActions = [
+ {
+ label: $localize`Studio`,
+ linkBuilder: ({ video }) => [ '/studio/edit', video.uuid ],
+ isDisplayed: ({ video }) => video.isEditableBy(this.authService.getUser(), this.serverService.getHTMLConfig().videoStudio.enabled),
+ iconName: 'film'
+ },
{
label: $localize`Display live information`,
handler: ({ video }) => this.displayLiveInformation(video),