mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Linter on webapp
This commit is contained in:
parent
fe999776c0
commit
084a5172e9
@ -34,7 +34,7 @@ describe('CommentList.vue', () => {
|
|||||||
content: 'this is a deleted comment',
|
content: 'this is a deleted comment',
|
||||||
deleted: true,
|
deleted: true,
|
||||||
author: { id: 'some-user' },
|
author: { id: 'some-user' },
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="comments" class="comment-list">
|
<div id="comments" class="comment-list">
|
||||||
<h3 class="title">
|
<h3 class="title">
|
||||||
<counter-icon icon="comments" :count="postComments.filter(comment => !comment.deleted).length" />
|
<counter-icon
|
||||||
|
icon="comments"
|
||||||
|
:count="postComments.filter((comment) => !comment.deleted).length"
|
||||||
|
/>
|
||||||
{{ $t('common.comment', null, 0) }}
|
{{ $t('common.comment', null, 0) }}
|
||||||
</h3>
|
</h3>
|
||||||
<div v-if="postComments" id="comments" class="comments">
|
<div v-if="postComments" id="comments" class="comments">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user