From 0ffa7a0ef3340f869ede1a5efbf473fef416daba Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Thu, 10 Feb 2022 10:41:22 +0100
Subject: Don't manage remote channels

---
 client/src/app/+video-channels/video-channels.component.ts | 1 +
 1 file changed, 1 insertion(+)

(limited to 'client/src')

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)
-- 
cgit v1.2.3