diff options
author | Chocobozzz <me@florianbigard.com> | 2020-09-25 10:04:21 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | a5cf76afa378aae81af2a9b0ce548e5d2582f832 (patch) | |
tree | 58da320232bee7c9656774c5d6811e82bbf6c696 /client/src/app/shared/shared-video-miniature | |
parent | de6310b2fcbb8a6b79c546b23dfa1920724faaa7 (diff) | |
download | PeerTube-a5cf76afa378aae81af2a9b0ce548e5d2582f832.tar.gz PeerTube-a5cf76afa378aae81af2a9b0ce548e5d2582f832.tar.zst PeerTube-a5cf76afa378aae81af2a9b0ce548e5d2582f832.zip |
Add watch messages if live has not started
Diffstat (limited to 'client/src/app/shared/shared-video-miniature')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts index 39358e08b..4ef17bfe3 100644 --- a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts +++ b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts | |||
@@ -146,7 +146,10 @@ export class VideoActionsDropdownComponent implements OnChanges { | |||
146 | } | 146 | } |
147 | 147 | ||
148 | isVideoDownloadable () { | 148 | isVideoDownloadable () { |
149 | return this.video && this.video instanceof VideoDetails && this.video.downloadEnabled | 149 | return this.video && |
150 | this.video.isLive !== true && | ||
151 | this.video instanceof VideoDetails && | ||
152 | this.video.downloadEnabled | ||
150 | } | 153 | } |
151 | 154 | ||
152 | canVideoBeDuplicated () { | 155 | canVideoBeDuplicated () { |