diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-26 13:20:37 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-03-31 09:05:51 +0200 |
commit | 67264e060b6068399dae9a67abae035a73b84af1 (patch) | |
tree | dabb735a530c9389c941f7ff1d44fa4b5f6db03e /client/src/app/+video-channels/video-channels.component.ts | |
parent | 60c35932f6a14cfe83bb0e54407427cce70171ea (diff) | |
download | PeerTube-67264e060b6068399dae9a67abae035a73b84af1.tar.gz PeerTube-67264e060b6068399dae9a67abae035a73b84af1.tar.zst PeerTube-67264e060b6068399dae9a67abae035a73b84af1.zip |
Redesign account page
Diffstat (limited to 'client/src/app/+video-channels/video-channels.component.ts')
-rw-r--r-- | client/src/app/+video-channels/video-channels.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+video-channels/video-channels.component.ts b/client/src/app/+video-channels/video-channels.component.ts index 037c108f2..4fcc42103 100644 --- a/client/src/app/+video-channels/video-channels.component.ts +++ b/client/src/app/+video-channels/video-channels.component.ts | |||
@@ -94,7 +94,7 @@ export class VideoChannelsComponent implements OnInit, OnDestroy { | |||
94 | isManageable () { | 94 | isManageable () { |
95 | if (!this.isUserLoggedIn()) return false | 95 | if (!this.isUserLoggedIn()) return false |
96 | 96 | ||
97 | return this.videoChannel.ownerAccount.userId === this.authService.getUser().id | 97 | return this.videoChannel?.ownerAccount.userId === this.authService.getUser().id |
98 | } | 98 | } |
99 | 99 | ||
100 | activateCopiedMessage () { | 100 | activateCopiedMessage () { |