aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-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 afbe1fe78..ef0f685c6 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -425,7 +425,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
425 theaterMode: true, 425 theaterMode: true,
426 language: this.localeId, 426 language: this.localeId,
427 427
428 userWatching: this.user ? { 428 userWatching: this.user && this.user.videosHistoryEnabled === true ? {
429 url: this.videoService.getUserWatchingVideoUrl(this.video.uuid), 429 url: this.videoService.getUserWatchingVideoUrl(this.video.uuid),
430 authorizationHeader: this.authService.getRequestHeaderValue() 430 authorizationHeader: this.authService.getRequestHeaderValue()
431 } : undefined 431 } : undefined