Update packages/frontend/src/pages/custom-emojis-manager.vue

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
This commit is contained in:
syuilo 2023-07-26 16:51:53 +09:00 committed by GitHub
parent 76018b4a1b
commit e5ac864077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ const selectAll = () => {
if (selectedEmojis.value.length > 0) { if (selectedEmojis.value.length > 0) {
selectedEmojis.value = []; selectedEmojis.value = [];
} else { } else {
selectedEmojis.value = Array.from(emojisPaginationComponent.value.items.values()).map(item => item.id); selectedEmojis.value = Array.from(emojisPaginationComponent.value.items.values(), item => item.id);
} }
}; };