diff options
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 2 |
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 c757a5e93..2b56d5064 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts | |||
@@ -239,7 +239,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
239 | } | 239 | } |
240 | 240 | ||
241 | isVideoDownloadable () { | 241 | isVideoDownloadable () { |
242 | return this.video && this.video instanceof VideoDetails && this.video.downloadEnabled && !this.video.isLive | 242 | return this.video && this.video instanceof VideoDetails && this.video.isDownloadableBy(this.user) && !this.video.isLive |
243 | } | 243 | } |
244 | 244 | ||
245 | loadCompleteDescription () { | 245 | loadCompleteDescription () { |