aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-10 10:41:22 +0100
committerChocobozzz <me@florianbigard.com>2022-02-10 10:41:22 +0100
commit0ffa7a0ef3340f869ede1a5efbf473fef416daba (patch)
tree2ed9dbdb127aac86925d1d63a993cfbd5a3aa936
parentd8aa370f3d64cb11ea4655ab4fc79c8295dddfa1 (diff)
downloadPeerTube-0ffa7a0ef3340f869ede1a5efbf473fef416daba.tar.gz
PeerTube-0ffa7a0ef3340f869ede1a5efbf473fef416daba.tar.zst
PeerTube-0ffa7a0ef3340f869ede1a5efbf473fef416daba.zip
Don't manage remote channelsrelease/4.1.0
-rw-r--r--client/src/app/+video-channels/video-channels.component.ts1
1 files changed, 1 insertions, 0 deletions
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 {
105 } 105 }
106 106
107 isManageable () { 107 isManageable () {
108 if (!this.videoChannel.isLocal) return false
108 if (!this.isUserLoggedIn()) return false 109 if (!this.isUserLoggedIn()) return false
109 110
110 return this.isOwner() || this.authService.getUser().hasRight(UserRight.MANAGE_ANY_VIDEO_CHANNEL) 111 return this.isOwner() || this.authService.getUser().hasRight(UserRight.MANAGE_ANY_VIDEO_CHANNEL)