Fix budgeting not being openable #29
@ -98,9 +98,12 @@ export const useAccountStore = defineStore("budget/account", {
|
||||
actions: {
|
||||
async SetCurrentAccount(budgetid: string, accountid: string) {
|
||||
if (budgetid == null)
|
||||
return
|
||||
return;
|
||||
|
||||
this.CurrentAccountID = accountid;
|
||||
|
||||
if (accountid == null)
|
||||
return;
|
||||
const account = this.GetAccount(accountid)!;
|
||||
useSessionStore().setTitle(account.Name);
|
||||
await this.FetchAccount(account);
|
||||
|
Loading…
x
Reference in New Issue
Block a user