feat: add locked for account
This commit is contained in:
parent
338e203b6f
commit
d5856b83c6
6 changed files with 45 additions and 8 deletions
|
@ -6,12 +6,15 @@ defineProps<{
|
|||
}>()
|
||||
</script>
|
||||
|
||||
<!-- TODO: reuse AccountInfo.vue -->
|
||||
|
||||
<template>
|
||||
<div flex gap-2 items-center>
|
||||
<AccountAvatar w-10 h-10 :account="account" shrink-0 />
|
||||
<div flex="~ col gap1" shrink h-full overflow-hidden leading-none>
|
||||
<div flex="~" gap-2>
|
||||
<AccountDisplayName :account="account" line-clamp-1 ws-pre-wrap break-all text-base />
|
||||
<AccountLockIndicator v-if="account.bot" text-xs />
|
||||
<AccountBotIndicator v-if="account.bot" text-xs />
|
||||
</div>
|
||||
<AccountHandle text-sm :account="account" text-secondary-light />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue