diff options
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 () { |