diff --git a/plugins/discourse-post-voting/assets/javascripts/discourse/components/post-voting-comment-actions.gjs b/plugins/discourse-post-voting/assets/javascripts/discourse/components/post-voting-comment-actions.gjs index 1f73200b5cf..67d5953fbe7 100644 --- a/plugins/discourse-post-voting/assets/javascripts/discourse/components/post-voting-comment-actions.gjs +++ b/plugins/discourse-post-voting/assets/javascripts/discourse/components/post-voting-comment-actions.gjs @@ -16,7 +16,7 @@ export default class PostVotingCommentActions extends Component { comment = this.args.comment; - hasPermission() { + get hasPermission() { return ( this.comment.user_id === this.currentUser.id || this.currentUser.admin || @@ -83,7 +83,6 @@ export default class PostVotingCommentActions extends Component { @action={{this.deleteConfirm}} @icon="far-trash-can" /> - {{#if this.canFlag}}