Fix live miniatures

This commit is contained in:
Chocobozzz 2020-12-17 13:46:52 +01:00
parent 9cfeb3cf98
commit 91f884d139
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ export class VideoThumbnailComponent {
}
isLiveEnded () {
if (!this.video.state) return
return this.video.state.id === VideoState.LIVE_ENDED
}