fix: role indicator (#2333)
This commit is contained in:
parent
c0f936f8fe
commit
92d0f18389
3 changed files with 2 additions and 25 deletions
|
@ -23,7 +23,7 @@ const { account, as = 'div' } = defineProps<{
|
|||
<div flex="~ col" shrink pt-1 h-full overflow-hidden justify-center leading-none select-none>
|
||||
<div flex="~" gap-2>
|
||||
<AccountDisplayName :account="account" font-bold line-clamp-1 ws-pre-wrap break-all text-lg />
|
||||
<AccountRolesIndicator :account="account" :limit="1" />
|
||||
<AccountRolesIndicator v-if="account.roles?.length" :account="account" :limit="1" />
|
||||
<AccountLockIndicator v-if="account.locked" text-xs />
|
||||
<AccountBotIndicator v-if="account.bot" text-xs />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue