From 0ffa7a0ef3340f869ede1a5efbf473fef416daba Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 10 Feb 2022 10:41:22 +0100 Subject: [PATCH] Don't manage remote channels --- client/src/app/+video-channels/video-channels.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/app/+video-channels/video-channels.component.ts b/client/src/app/+video-channels/video-channels.component.ts index 82c52d239..c5bcdffe2 100644 --- a/client/src/app/+video-channels/video-channels.component.ts +++ b/client/src/app/+video-channels/video-channels.component.ts @@ -105,6 +105,7 @@ export class VideoChannelsComponent implements OnInit, OnDestroy { } isManageable () { + if (!this.videoChannel.isLocal) return false if (!this.isUserLoggedIn()) return false return this.isOwner() || this.authService.getUser().hasRight(UserRight.MANAGE_ANY_VIDEO_CHANNEL) -- 2.41.0