refactor: generic components (#868)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
parent
5c8f75b9b7
commit
b30ebc12f8
13 changed files with 63 additions and 61 deletions
|
@ -22,8 +22,8 @@ const account = isSelf ? computed(() => status.account) : useAccountById(status.
|
|||
<template v-if="account">
|
||||
<div i-ri:reply-fill :class="collapsed ? '' : 'scale-x-[-1]'" text-secondary-light />
|
||||
<template v-if="!collapsed">
|
||||
<AccountAvatar v-if="isSelf || simplified || status.inReplyToAccountId === currentUser?.account.id" :account="account" :link="false" w-5 h-5 mx-0.5 />
|
||||
<AccountInlineInfo v-else :account="account" :link="false" mx-0.5 />
|
||||
<AccountAvatar v-if="isSelf || simplified || status.inReplyToAccountId === currentUser?.account.id" :account="account" :link="false" w-5 h-5 mx="0.5" />
|
||||
<AccountInlineInfo v-else :account="account" :link="false" mx="0.5" />
|
||||
</template>
|
||||
</template>
|
||||
<div i-ri:question-answer-line text-secondary-light text-lg />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue