when a sub-account is deleted, set the currently selected account to its parent account

This commit is contained in:
MaysWind
2025-10-14 08:50:22 +08:00
parent e90340fec4
commit cce19ae957
+1
View File
@@ -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;