fix: allow custom emojis on profile metadata field names

Fixes #1992
zio/stable
patak 2023-04-19 21:32:07 +02:00
parent d34a5e6e96
commit ea44f8bc30
1 changed files with 3 additions and 2 deletions

View File

@ -187,9 +187,10 @@ const isNotifiedOnPost = $computed(() => !!relationship?.notifying)
</div>
<div v-if="namedFields.length" flex="~ col wrap gap1">
<div v-for="field in namedFields" :key="field.name" flex="~ gap-1" items-center>
<div text-secondary uppercase text-xs font-bold>
{{ field.name }} |
<div mt="0.5" text-secondary uppercase text-xs font-bold>
<ContentRich :content="field.name" :emojis="account.emojis" />
</div>
<span text-secondary text-xs font-bold>|</span>
<ContentRich :content="field.value" :emojis="account.emojis" />
</div>
</div>