]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Don't manage remote channels release/4.1.0
authorChocobozzz <me@florianbigard.com>
Thu, 10 Feb 2022 09:41:22 +0000 (10:41 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 10 Feb 2022 09:41:22 +0000 (10:41 +0100)
client/src/app/+video-channels/video-channels.component.ts

index 82c52d23919ec3a5fbc9b8c8103381dfd898dced..c5bcdffe2a9ec0b968f9b3871fb71772046074cc 100644 (file)
@@ -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)