fix: allow custom emojis on profile metadata field names

Fixes #1992
This commit is contained in:
patak 2023-04-19 21:32:07 +02:00
parent d34a5e6e96
commit ea44f8bc30

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>