Fix userDialog opening behind other dialogs

This commit is contained in:
Natsumi
2025-09-10 07:22:25 +12:00
parent c550a2ab95
commit 01029c16cd
2 changed files with 4 additions and 4 deletions

View File

@@ -1289,8 +1289,8 @@
watch(
() => groupDialog.value.loading,
(val) => {
if (val) {
() => {
if (groupDialog.value.visible) {
nextTick(() => adjustDialogZ(groupDialogRef.value.$el));
}
}

View File

@@ -1901,8 +1901,8 @@
() => {
if (userDialog.value.visible) {
nextTick(() => {
if (userDialogTabsRef.value?.$el) {
adjustDialogZ(userDialogTabsRef.value.$el);
if (userDialogRef.value?.$el) {
adjustDialogZ(userDialogRef.value.$el);
}
});
!userDialog.value.loading && toggleLastActiveTab(userDialog.value.id);