diff options
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/comment/video-comment.component.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/comment/video-comment.component.ts b/client/src/app/+videos/+video-watch/shared/comment/video-comment.component.ts index 5bbcffe82..cabea7551 100644 --- a/client/src/app/+videos/+video-watch/shared/comment/video-comment.component.ts +++ b/client/src/app/+videos/+video-watch/shared/comment/video-comment.component.ts | |||
@@ -197,8 +197,11 @@ export class VideoCommentComponent implements OnInit, OnChanges { | |||
197 | }) | 197 | }) |
198 | } | 198 | } |
199 | 199 | ||
200 | if (this.prependModerationActions.length === 0) { | 200 | if (this.prependModerationActions.length !== 0) { |
201 | this.prependModerationActions = undefined | 201 | this.prependModerationActions.unshift({ |
202 | label: $localize`Actions on comment`, | ||
203 | isHeader: true | ||
204 | }) | ||
202 | } | 205 | } |
203 | } | 206 | } |
204 | 207 | ||