From cce19ae957326d0f67e5035d8e7b6f4c05ed1f35 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Tue, 14 Oct 2025 08:50:22 +0800 Subject: [PATCH] when a sub-account is deleted, set the currently selected account to its parent account --- src/views/desktop/accounts/ListPage.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/desktop/accounts/ListPage.vue b/src/views/desktop/accounts/ListPage.vue index 6fa5baa3..54fc5a7b 100644 --- a/src/views/desktop/accounts/ListPage.vue +++ b/src/views/desktop/accounts/ListPage.vue @@ -598,6 +598,7 @@ function remove(account: Account): void { accountsStore.deleteSubAccount({ subAccount: subAccount }).then(() => { + activeSubAccount.value[account.id] = ''; loading.value = false; }).catch(error => { loading.value = false;