when a sub-account is deleted, set the currently selected account to its parent account
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user