diff --git a/webapp/components/CommentList/CommentList.vue b/webapp/components/CommentList/CommentList.vue index 092da4681..b8b6c8a57 100644 --- a/webapp/components/CommentList/CommentList.vue +++ b/webapp/components/CommentList/CommentList.vue @@ -37,7 +37,12 @@ export default { }, computed: { commentsCount() { - return (this.post && this.post.comments && this.post.comments.filter(comment => !comment.deleted && !comment.disabled).length) || 0 + return ( + (this.post && + this.post.comments && + this.post.comments.filter((comment) => !comment.deleted && !comment.disabled).length) || + 0 + ) }, }, methods: {