ngOnChanges () {
if (this.loaded) {
this.loaded = false
- this.playlistAdd.reload()
+ if (this.playlistAdd) this.playlistAdd.reload()
}
this.buildActions()
{
label: $localize`Display live information`,
handler: ({ video }) => this.showLiveInfoModal(video),
- isDisplayed: () => this.isVideoLiveInfoAvailable(),
+ isDisplayed: () => this.displayOptions.liveInfo && this.isVideoLiveInfoAvailable(),
iconName: 'live'
},
{