From 80adb0366f0c2efabfd554009239f406983c1e15 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Wed, 19 Feb 2020 09:33:49 +0100 Subject: Properly hide Watch Later when user logs out --- client/src/app/shared/video/video-miniature.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/shared/video/video-miniature.component.ts b/client/src/app/shared/video/video-miniature.component.ts index 1dfb3eec7..9d22e13fd 100644 --- a/client/src/app/shared/video/video-miniature.component.ts +++ b/client/src/app/shared/video/video-miniature.component.ts @@ -200,7 +200,7 @@ export class VideoMiniatureComponent implements OnInit { } isWatchLaterPlaylistDisplayed () { - return this.inWatchLaterPlaylist !== undefined + return this.isUserLoggedIn() && this.inWatchLaterPlaylist !== undefined } private setUpBy () { -- cgit v1.2.3