fix(frontend): Selecting all emojis in Custom emoji is impossible

Fix #11381
This commit is contained in:
syuilo 2023-07-26 10:30:52 +09:00
parent c59a9c6f84
commit e5fce15ba5
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@
### Client
- リストTLで、ユーザーが追加・削除されてもTLを初期化しないように
- Fix: モバイル表示のときページ下部がナビゲーションバーに隠れる問題を修正
- Fix: Selecting all emojis in Custom emoji is impossible
### Server
- Fix: APIのオフセットが壊れていたせいで「もっと見る」でもっと見れない問題を修正

View file

@ -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);
}
};