aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-07 15:08:12 +0100
committerChocobozzz <me@florianbigard.com>2020-12-07 16:07:52 +0100
commit17b7d4b315ee958acd52d27d0bc4133164bca254 (patch)
tree719b7812e126f81c1e8a0da4e6e77695b7894294 /client/src
parent8e0a2f2a05df23c30abb21cfbd540fc289c33b91 (diff)
downloadPeerTube-17b7d4b315ee958acd52d27d0bc4133164bca254.tar.gz
PeerTube-17b7d4b315ee958acd52d27d0bc4133164bca254.tar.zst
PeerTube-17b7d4b315ee958acd52d27d0bc4133164bca254.zip
Don't allow manual redundancy of live videos
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts2
1 files changed, 1 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 321f7b09f..3c2b46d16 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
@@ -167,7 +167,7 @@ export class VideoActionsDropdownComponent implements OnChanges {
167 } 167 }
168 168
169 canVideoBeDuplicated () { 169 canVideoBeDuplicated () {
170 return this.video.canBeDuplicatedBy(this.user) 170 return !this.video.isLive && this.video.canBeDuplicatedBy(this.user)
171 } 171 }
172 172
173 isVideoAccountMutable () { 173 isVideoAccountMutable () {