diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
31 | } | 31 | } |
32 | 32 | ||
33 | isLiveEnded () { | 33 | isLiveEnded () { |
34 | if (!this.video.state) return | ||
35 | |||
34 | return this.video.state.id === VideoState.LIVE_ENDED | 36 | return this.video.state.id === VideoState.LIVE_ENDED |
35 | } | 37 | } |
36 | 38 | ||