fix: handle undefined displayName (#21)
This commit is contained in:
parent
2ef2e97a30
commit
f7f3e9c7e1
6 changed files with 16 additions and 9 deletions
|
@ -25,7 +25,7 @@ const createdAt = $computed(() => {
|
|||
</NuxtLink>
|
||||
</div>
|
||||
<NuxtLink flex flex-col :to="`/@${account.acct}`">
|
||||
<CommonRichContent font-bold :content="account.displayName" />
|
||||
<CommonRichContent font-bold :content="getDisplayName(account)" />
|
||||
<p op50>
|
||||
@{{ account.acct }}
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue