Lint over the frontend code.

This commit is contained in:
Hannes Heine 2020-08-07 14:07:53 +02:00
parent def6a9d444
commit 34ba9d8c0b

View File

@ -37,7 +37,12 @@ export default {
}, },
computed: { computed: {
commentsCount() { 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: { methods: {