aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-17 13:46:52 +0100
committerChocobozzz <me@florianbigard.com>2020-12-17 13:46:52 +0100
commit91f884d13970dfd73222025c171a6b5c4f322837 (patch)
treedc18c0f0f4aadf8f97545f64a6847a8fcad4f268 /client/src
parent9cfeb3cf989fffccdfe3e575903dc00baab255b2 (diff)
downloadPeerTube-91f884d13970dfd73222025c171a6b5c4f322837.tar.gz
PeerTube-91f884d13970dfd73222025c171a6b5c4f322837.tar.zst
PeerTube-91f884d13970dfd73222025c171a6b5c4f322837.zip
Fix live miniatures
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts2
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