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

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