Open last dialog on error

This commit is contained in:
Natsumi
2026-02-01 03:14:07 +13:00
committed by pa
parent 8f57fbb572
commit c86cf5e5ed
7 changed files with 99 additions and 44 deletions
+3 -1
View File
@@ -148,7 +148,9 @@ export const useWorldStore = defineStore('World', () => {
})
.catch((err) => {
D.loading = false;
uiStore.closeMainDialog();
D.id = null;
D.visible = false;
uiStore.jumpBackDialogCrumb();
toast.error(t('message.world.load_failed'));
throw err;
})