mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Lint over the frontend code.
This commit is contained in:
parent
def6a9d444
commit
34ba9d8c0b
@ -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: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user