added linting for postteaser

This commit is contained in:
Markus 2023-03-14 12:03:36 +01:00
parent a5d6bd037b
commit 47d7ed3cad

View File

@ -18,10 +18,7 @@
<div class="post-user-row"> <div class="post-user-row">
<user-teaser :user="post.author" :group="post.group" :date-time="post.createdAt" /> <user-teaser :user="post.author" :group="post.group" :date-time="post.createdAt" />
<hc-ribbon <hc-ribbon
:class="[ :class="[isPinned ? '--pinned' : '', post.image ? 'post-ribbon-w-img' : 'post-ribbon']"
(isPinned) ? '--pinned' : '',
(post.image) ? 'post-ribbon-w-img' : 'post-ribbon'
]"
:text="isPinned ? $t('post.pinned') : $t('post.name')" :text="isPinned ? $t('post.pinned') : $t('post.name')"
/> />
</div> </div>