From 34ba9d8c0b377e71a6d1c61427573b906fb74388 Mon Sep 17 00:00:00 2001 From: Hannes Heine Date: Fri, 7 Aug 2020 14:07:53 +0200 Subject: [PATCH] Lint over the frontend code. --- webapp/components/CommentList/CommentList.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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: {