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
@@ -1289,8 +1289,8 @@
watch( watch(
() => groupDialog.value.loading, () => groupDialog.value.loading,
(val) => { () => {
if (val) { if (groupDialog.value.visible) {
nextTick(() => adjustDialogZ(groupDialogRef.value.$el)); nextTick(() => adjustDialogZ(groupDialogRef.value.$el));
} }
} }
@@ -1901,8 +1901,8 @@
() => { () => {
if (userDialog.value.visible) { if (userDialog.value.visible) {
nextTick(() => { nextTick(() => {
if (userDialogTabsRef.value?.$el) { if (userDialogRef.value?.$el) {
adjustDialogZ(userDialogTabsRef.value.$el); adjustDialogZ(userDialogRef.value.$el);
} }
}); });
!userDialog.value.loading && toggleLastActiveTab(userDialog.value.id); !userDialog.value.loading && toggleLastActiveTab(userDialog.value.id);