diff options
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment.component.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.ts b/client/src/app/videos/+video-watch/comment/video-comment.component.ts index 1313b6585..868addd58 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.component.ts +++ b/client/src/app/videos/+video-watch/comment/video-comment.component.ts | |||
@@ -98,6 +98,7 @@ export class VideoCommentComponent implements OnInit, OnChanges { | |||
98 | return this.comment.account && this.isUserLoggedIn() && | 98 | return this.comment.account && this.isUserLoggedIn() && |
99 | ( | 99 | ( |
100 | this.user.account.id === this.comment.account.id || | 100 | this.user.account.id === this.comment.account.id || |
101 | this.user.account.id === this.video.account.id || | ||
101 | this.user.hasRight(UserRight.REMOVE_ANY_VIDEO_COMMENT) | 102 | this.user.hasRight(UserRight.REMOVE_ANY_VIDEO_COMMENT) |
102 | ) | 103 | ) |
103 | } | 104 | } |