fix: display account emojis in other account fields too

This commit is contained in:
Daniel Roe 2022-11-28 13:58:58 +00:00
parent bc44b0127d
commit b17c090d36
No known key found for this signature in database
GPG key ID: 22D5008E4F5D9B55

View file

@ -106,13 +106,13 @@ watchEffect(() => {
<div text-secondary uppercase text-xs font-bold> <div text-secondary uppercase text-xs font-bold>
{{ field.name }} | {{ field.name }} |
</div> </div>
<ContentRich :content="field.value" /> <ContentRich :content="field.value" :emojis="account.emojis" />
</div> </div>
</div> </div>
<div v-if="iconFields.length" flex="~ wrap gap-4"> <div v-if="iconFields.length" flex="~ wrap gap-4">
<div v-for="field in iconFields" :key="field.name" flex="~ gap-1" items-center> <div v-for="field in iconFields" :key="field.name" flex="~ gap-1" items-center>
<div text-secondary :class="getFieldNameIcon(field.name)" :title="field.name" /> <div text-secondary :class="getFieldNameIcon(field.name)" :title="field.name" />
<ContentRich text-sm filter-saturate-0 :content="field.value" /> <ContentRich text-sm filter-saturate-0 :content="field.value" :emojis="account.emojis" />
</div> </div>
</div> </div>
<AccountPostsFollowers :account="account" /> <AccountPostsFollowers :account="account" />