aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-02-19 09:33:49 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-02-19 09:33:49 +0100
commit80adb0366f0c2efabfd554009239f406983c1e15 (patch)
tree7898a2d9342ef70d013ef110ccdf8f808577453e /client/src/app
parent99ae9d3a9eeaf3db5c66bde006aded133757cb17 (diff)
downloadPeerTube-80adb0366f0c2efabfd554009239f406983c1e15.tar.gz
PeerTube-80adb0366f0c2efabfd554009239f406983c1e15.tar.zst
PeerTube-80adb0366f0c2efabfd554009239f406983c1e15.zip
Properly hide Watch Later when user logs out
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/shared/video/video-miniature.component.ts2
1 files changed, 1 insertions, 1 deletions
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 {
200 } 200 }
201 201
202 isWatchLaterPlaylistDisplayed () { 202 isWatchLaterPlaylistDisplayed () {
203 return this.inWatchLaterPlaylist !== undefined 203 return this.isUserLoggedIn() && this.inWatchLaterPlaylist !== undefined
204 } 204 }
205 205
206 private setUpBy () { 206 private setUpBy () {