diff --git a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts index 67a9b0028..bdede17a3 100644 --- a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts +++ b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts @@ -31,6 +31,8 @@ export class VideoThumbnailComponent { } isLiveEnded () { + if (!this.video.state) return + return this.video.state.id === VideoState.LIVE_ENDED }