From e5fce15ba5a34c5d5565c5c35be0bcccc0eadfe3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 26 Jul 2023 10:30:52 +0900 Subject: [PATCH] fix(frontend): Selecting all emojis in Custom emoji is impossible Fix #11381 --- CHANGELOG.md | 1 + packages/frontend/src/pages/custom-emojis-manager.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b654699d..400512412 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ ### Client - リストTLで、ユーザーが追加・削除されてもTLを初期化しないように - Fix: モバイル表示のときページ下部がナビゲーションバーに隠れる問題を修正 +- Fix: Selecting all emojis in Custom emoji is impossible ### Server - Fix: APIのオフセットが壊れていたせいで「もっと見る」でもっと見れない問題を修正 diff --git a/packages/frontend/src/pages/custom-emojis-manager.vue b/packages/frontend/src/pages/custom-emojis-manager.vue index 359bbeadc..b97f6225d 100644 --- a/packages/frontend/src/pages/custom-emojis-manager.vue +++ b/packages/frontend/src/pages/custom-emojis-manager.vue @@ -110,7 +110,7 @@ const selectAll = () => { if (selectedEmojis.value.length > 0) { selectedEmojis.value = []; } else { - selectedEmojis.value = emojisPaginationComponent.value.items.map(item => item.id); + selectedEmojis.value = Array.from(emojisPaginationComponent.value.items.values()).map(item => item.id); } };