mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-06 12:19:08 +01:00
fix: reference content rich component
This commit is contained in:
parent
c475ed3857
commit
2f1c890623
2 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ function getFieldNameIcon(fieldName: string) {
|
|||
</div>
|
||||
</div>
|
||||
<div v-if="account.note">
|
||||
<ContentRich text-4 text-gray :content="account.note" :emojis="account.emojis" />
|
||||
<ContentRichSetup text-4 text-gray :content="account.note" :emojis="account.emojis" />
|
||||
</div>
|
||||
<div flex flex-wrap gap-4>
|
||||
<div v-for="field in fields" :key="field.name" flex="~ gap-1" items-center>
|
||||
|
@ -88,7 +88,7 @@ function getFieldNameIcon(fieldName: string) {
|
|||
<div v-else op50 uppercase text-xs font-bold>
|
||||
{{ field.name }} |
|
||||
</div>
|
||||
<ContentRich text-sm filter-saturate-0 :content="field.value" />
|
||||
<ContentRichSetup text-sm filter-saturate-0 :content="field.value" />
|
||||
</div>
|
||||
</div>
|
||||
<div flex gap-5>
|
||||
|
|
|
@ -7,7 +7,7 @@ defineOptions({
|
|||
|
||||
const props = defineProps<{
|
||||
content: string
|
||||
emojis: Emoji[]
|
||||
emojis?: Emoji[]
|
||||
}>()
|
||||
|
||||
const emojiObject = emojisArrayToObject(props.emojis || [])
|
||||
|
|
Loading…
Reference in a new issue