feat: add roles into account header and info (#2265)

This commit is contained in:
Florian Martinez 2023-07-25 16:43:26 +02:00 committed by GitHub
parent 0719ad0afd
commit 22a1388d50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 0 deletions

View file

@ -167,6 +167,7 @@ const personalNoteMaxLength = 2000
<div flex="~ col gap1" pt2>
<div flex gap2 items-center>
<AccountDisplayName :account="account" font-bold sm:text-2xl text-xl />
<AccountRoleIndicator v-for="role in account.roles" :key="role.id" :role="role" />
<AccountLockIndicator v-if="account.locked" show-label />
<AccountBotIndicator v-if="account.bot" show-label />
</div>