diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-10 10:41:22 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-02-10 10:41:22 +0100 |
commit | 0ffa7a0ef3340f869ede1a5efbf473fef416daba (patch) | |
tree | 2ed9dbdb127aac86925d1d63a993cfbd5a3aa936 /client/src/app/+video-channels | |
parent | d8aa370f3d64cb11ea4655ab4fc79c8295dddfa1 (diff) | |
download | PeerTube-0ffa7a0ef3340f869ede1a5efbf473fef416daba.tar.gz PeerTube-0ffa7a0ef3340f869ede1a5efbf473fef416daba.tar.zst PeerTube-0ffa7a0ef3340f869ede1a5efbf473fef416daba.zip |
Don't manage remote channelsrelease/4.1.0
Diffstat (limited to 'client/src/app/+video-channels')
-rw-r--r-- | client/src/app/+video-channels/video-channels.component.ts | 1 |
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) |