]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts
Merge branch 'release/3.1.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-thumbnail / video-thumbnail.component.ts
index 67a9b0028ef2002b65f1ddff061722c3a5d80e8f..bdede17a3d448bc13651b28cdbd6fc1a9b95754c 100644 (file)
@@ -31,6 +31,8 @@ export class VideoThumbnailComponent {
   }
 
   isLiveEnded () {
+    if (!this.video.state) return
+
     return this.video.state.id === VideoState.LIVE_ENDED
   }