From 0a3597f84e178e10763c61003d234dd9123ee122 Mon Sep 17 00:00:00 2001 From: pa Date: Mon, 26 Jan 2026 15:05:19 +0900 Subject: [PATCH] fix 404 handling in main dialog --- src/components/dialogs/MainDialogContainer.vue | 9 ++------- src/stores/avatar.js | 2 +- src/stores/group.js | 2 +- src/stores/ui.js | 16 ++++++++++++++++ src/stores/user.js | 2 +- src/stores/world.js | 2 +- 6 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/components/dialogs/MainDialogContainer.vue b/src/components/dialogs/MainDialogContainer.vue index 0458424f..4c18f72b 100644 --- a/src/components/dialogs/MainDialogContainer.vue +++ b/src/components/dialogs/MainDialogContainer.vue @@ -98,12 +98,7 @@ get: () => activeComponent.value !== null, set: (value) => { if (!value) { - userStore.userDialog.visible = false; - worldStore.worldDialog.visible = false; - avatarStore.avatarDialog.visible = false; - groupStore.groupDialog.visible = false; - instanceStore.hidePreviousInstancesDialogs(); - uiStore.clearDialogCrumbs(); + uiStore.closeMainDialog(); } } }); @@ -177,7 +172,7 @@