feat(ui): new replying status design (#846)

This commit is contained in:
Anthony Fu 2023-01-08 09:27:21 +01:00 committed by GitHub
parent a4c0e9dd2e
commit 3d25243166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 87 additions and 46 deletions

View file

@ -91,8 +91,12 @@ onReactivated(() => {
<template v-for="(comment, di) of context?.descendants" :key="comment.id">
<StatusCard
:status="comment" :actions="comment.visibility !== 'direct'" context="account"
:older="context?.descendants[di + 1]" :newer="context?.descendants[di - 1]" :has-newer="di === 0" :main="status"
:status="comment"
:actions="comment.visibility !== 'direct'" context="account"
:older="context?.descendants[di + 1]"
:newer="context?.descendants[di - 1]"
:has-newer="di === 0"
:main="status"
/>
</template>
</div>