perf(frontend): improve about#emojis performancce

This commit is contained in:
syuilo
2025-10-06 10:21:46 +09:00
parent ba9924abdb
commit ae10cad9a7
2 changed files with 2 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</MkFoldableSection>
<MkFoldableSection v-for="category in customEmojiCategories" v-once :key="category ?? '___root___'">
<MkFoldableSection v-for="category in customEmojiCategories" v-once :key="category ?? '___root___'" :expanded="false">
<template #header>{{ category || i18n.ts.other }}</template>
<div :class="$style.emojis">
<XEmoji v-for="emoji in customEmojis.filter(e => e.category === category)" :key="emoji.name" :emoji="emoji"/>