Faster dialog switch

This commit is contained in:
Natsumi
2026-01-24 02:25:49 +13:00
committed by pa
parent fb9ec31c93
commit 0af08e7741
8 changed files with 9 additions and 14 deletions

View File

@@ -336,7 +336,7 @@
</div>
</div>
<TabsUnderline
v-model="groupDialogActiveTab"
v-model="groupDialog.activeTab"
:items="groupDialogTabs"
:unmount-on-hide="false"
@update:modelValue="groupDialogTabClick">
@@ -1236,7 +1236,6 @@
const { isDarkMode } = storeToRefs(useAppearanceSettingsStore());
const groupDialogActiveTab = ref('Info');
const isGroupMembersDone = ref(false);
const isGroupMembersLoading = ref(false);
const groupDialogGalleryCurrentName = ref('0');
@@ -1630,7 +1629,6 @@
}
function handleGroupDialogTab(tabName) {
groupDialogActiveTab.value = tabName;
groupDialog.value.lastActiveTab = tabName;
if (tabName === 'Members') {
getGroupDialogGroupMembers();