fix: role indicator (#2333)

This commit is contained in:
Florian Martinez 2023-08-13 10:28:32 +02:00 committed by GitHub
parent c0f936f8fe
commit 92d0f18389
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 25 deletions

View file

@ -167,7 +167,7 @@ const personalNoteMaxLength = 2000
<div flex="~ col gap1" pt2>
<div flex gap2 items-center flex-wrap>
<AccountDisplayName :account="account" font-bold sm:text-2xl text-xl />
<AccountRolesIndicator :account="account" />
<AccountRolesIndicator v-if="account.roles?.length" :account="account" />
<AccountLockIndicator v-if="account.locked" show-label />
<AccountBotIndicator v-if="account.bot" show-label />
</div>