Fix: lint error 3

This commit is contained in:
meronmks 2023-10-22 22:00:08 +09:00
parent e88c0ed26a
commit 01af8c27ea
No known key found for this signature in database
1 changed files with 3 additions and 2 deletions

View File

@ -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>