mirror of
https://github.com/elk-zone/elk.git
synced 2025-05-04 22:34:54 +03:00
fix: show emoji in nav account (#159)
This commit is contained in:
parent
75aaf85e84
commit
d967520005
2 changed files with 11 additions and 6 deletions
components/nav
|
@ -11,13 +11,11 @@
|
|||
<NavSideItem text="Conversations" to="/conversations" icon="i-ri:at-line" />
|
||||
<NavSideItem text="Favourites" to="/favourites" icon="i-ri:heart-3-line" />
|
||||
<NavSideItem text="Bookmarks" to="/bookmarks" icon="i-ri:bookmark-line " />
|
||||
<NavSideItem
|
||||
:text="currentUser.account.displayName || 'Profile'"
|
||||
:to="getAccountPath(currentUser.account)" icon="i-ri:list-check-2-line"
|
||||
>
|
||||
<NavSideItem :to="getAccountPath(currentUser.account)" icon="i-ri:list-check-2-line">
|
||||
<template #icon>
|
||||
<AccountAvatar :account="currentUser.account" h="1.2em" />
|
||||
</template>
|
||||
<ContentRich :content="getDisplayName(currentUser.account, { rich: true })" :emojis="currentUser.account.emojis" />
|
||||
</NavSideItem>
|
||||
</template>
|
||||
</nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue