aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts
index a281fff23..8330aba15 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -405,7 +405,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
405 } 405 }
406 406
407 private updateOtherVideosDisplayed () { 407 private updateOtherVideosDisplayed () {
408 if (this.otherVideos.length > 0) { 408 if (this.video && this.otherVideos && this.otherVideos.length > 0) {
409 this.otherVideosDisplayed = this.otherVideos.filter(v => v.uuid !== this.video.uuid) 409 this.otherVideosDisplayed = this.otherVideos.filter(v => v.uuid !== this.video.uuid)
410 } 410 }
411 } 411 }