add context menu for groupsidebar

This commit is contained in:
pa
2026-03-06 23:26:20 +09:00
parent cf1577cb44
commit 2450971211
2 changed files with 74 additions and 21 deletions

View File

@@ -368,7 +368,6 @@
:currentlocation="lastLocation.location"
:instance="room.ref"
:friendcount="room.friendCount"
:show-launch="false"
refresh-tooltip="Refresh player count"
:on-refresh="() => refreshInstancePlayerCount(room.tag)" />
</div>
@@ -1784,9 +1783,7 @@
groupDialogGalleryCurrentName.value = '0';
isGroupGalleryLoading.value = true;
const groupId = groupDialog.value.id;
const tasks = (groupDialog.value.ref.galleries || []).map((gallery) =>
getGroupGallery(groupId, gallery.id)
);
const tasks = (groupDialog.value.ref.galleries || []).map((gallery) => getGroupGallery(groupId, gallery.id));
await Promise.allSettled(tasks);
isGroupGalleryLoading.value = false;
}