From: Rigel Kent Date: Wed, 19 Feb 2020 08:33:49 +0000 (+0100) Subject: Properly hide Watch Later when user logs out X-Git-Tag: v2.2.0-rc.1~458 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=80adb0366f0c2efabfd554009239f406983c1e15;p=oweals%2Fpeertube.git Properly hide Watch Later when user logs out --- 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 () {