diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-21 10:19:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-21 10:19:42 +0200 |
commit | a2c3564a31268e4e60f05952aa3731e114ac1e30 (patch) | |
tree | f0bf29c8b304ec61ded60328f1a488338c2d4c8e /client/src/app/+videos | |
parent | 5196817c5d7cf86b35f3fa2cfe108ba283944482 (diff) | |
download | PeerTube-a2c3564a31268e4e60f05952aa3731e114ac1e30.tar.gz PeerTube-a2c3564a31268e4e60f05952aa3731e114ac1e30.tar.zst PeerTube-a2c3564a31268e4e60f05952aa3731e114ac1e30.zip |
Improve moderation dropdown UX
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 | ||