From 17b7d4b315ee958acd52d27d0bc4133164bca254 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 7 Dec 2020 15:08:12 +0100 Subject: Don't allow manual redundancy of live videos --- .../shared/shared-video-miniature/video-actions-dropdown.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared') 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 { } canVideoBeDuplicated () { - return this.video.canBeDuplicatedBy(this.user) + return !this.video.isLive && this.video.canBeDuplicatedBy(this.user) } isVideoAccountMutable () { -- cgit v1.2.3