mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-15 12:53:51 +02:00
Fix bulk unfriend count
This commit is contained in:
@@ -360,6 +360,7 @@
|
||||
|
||||
async function bulkUnfriendSelection() {
|
||||
if (!selectedFriends.value.size) return;
|
||||
const selectedFriendsCount = selectedFriends.value.size;
|
||||
for (const item of friendsListDisplayData.value) {
|
||||
if (selectedFriends.value.has(item.id)) {
|
||||
console.log(`Unfriending ${item.displayName} (${item.id})`);
|
||||
@@ -368,7 +369,7 @@
|
||||
}
|
||||
}
|
||||
modalStore.alert({
|
||||
description: `Unfriended ${selectedFriends.value.size} friends.`,
|
||||
description: `Unfriended ${selectedFriendsCount} friends.`,
|
||||
title: 'Bulk Unfriend Complete'
|
||||
});
|
||||
selectedFriends.value.clear();
|
||||
|
||||
Reference in New Issue
Block a user