Fix: lint error 3
This commit is contained in:
parent
e88c0ed26a
commit
01af8c27ea
|
@ -42,15 +42,16 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<MkEmoji v-else class="emoji" :emoji="emoji" :normal="true"/>
|
<MkEmoji v-else class="emoji" :emoji="emoji" :normal="true"/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div v-for="child in customEmojiTree" v-if="shown" style="padding-left: 18px;">
|
<div v-if="shown" style="padding-left: 18px;">
|
||||||
<!-- TODO: 再帰へのイベントの渡し方が微妙なのか反応はするがエフェクトが出ない -->
|
<!-- TODO: 再帰へのイベントの渡し方が微妙なのか反応はするがエフェクトが出ない -->
|
||||||
<MkEmojiPickerSection
|
<MkEmojiPickerSection
|
||||||
|
v-for="child in customEmojiTree"
|
||||||
:key="`custom:${child.value}`"
|
:key="`custom:${child.value}`"
|
||||||
:initialShown="initialShown"
|
:initialShown="initialShown"
|
||||||
:emojis="computed(() => customEmojis.filter(e => e.category === child.category).map(e => `:${e.name}:`))"
|
:emojis="computed(() => customEmojis.filter(e => e.category === child.category).map(e => `:${e.name}:`))"
|
||||||
:isChildrenExits="child.children.length!==0"
|
:isChildrenExits="child.children.length!==0"
|
||||||
:customEmojiTree="child.children"
|
:customEmojiTree="child.children"
|
||||||
@chosen="emit('chosen', $event, $event)"
|
@chosen="emit('chosen', $event, $event)"
|
||||||
>
|
>
|
||||||
{{ child.value }}
|
{{ child.value }}
|
||||||
</MkEmojiPickerSection>
|
</MkEmojiPickerSection>
|
||||||
|
|
Loading…
Reference in New Issue