Properly hide Watch Later when user logs out
authorRigel Kent <sendmemail@rigelk.eu>
Wed, 19 Feb 2020 08:33:49 +0000 (09:33 +0100)
committerRigel Kent <sendmemail@rigelk.eu>
Wed, 19 Feb 2020 08:33:49 +0000 (09:33 +0100)
client/src/app/shared/video/video-miniature.component.ts

index 1dfb3eec7ad706b53e258b460555bfed06c63fb2..9d22e13fd1f740243d3f98a3b9e5496176929aef 100644 (file)
@@ -200,7 +200,7 @@ export class VideoMiniatureComponent implements OnInit {
   }
 
   isWatchLaterPlaylistDisplayed () {
-    return this.inWatchLaterPlaylist !== undefined
+    return this.isUserLoggedIn() && this.inWatchLaterPlaylist !== undefined
   }
 
   private setUpBy () {