mirror of https://github.com/Chocobozzz/PeerTube
Fix live miniatures
parent
9cfeb3cf98
commit
91f884d139
|
@ -31,6 +31,8 @@ export class VideoThumbnailComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
isLiveEnded () {
|
isLiveEnded () {
|
||||||
|
if (!this.video.state) return
|
||||||
|
|
||||||
return this.video.state.id === VideoState.LIVE_ENDED
|
return this.video.state.id === VideoState.LIVE_ENDED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue