Fix reference to account.Transactions
This commit is contained in:
parent
88283a8817
commit
a0e6dc0f1b
@ -59,8 +59,6 @@ export const useBudgetsStore = defineStore("budget", {
|
|||||||
MergeBudgetingData(response: any) {
|
MergeBudgetingData(response: any) {
|
||||||
const accounts = useAccountStore();
|
const accounts = useAccountStore();
|
||||||
for (const account of response.Accounts || []) {
|
for (const account of response.Accounts || []) {
|
||||||
const existingAccount = accounts.Accounts.get(account.ID);
|
|
||||||
account.Transactions = existingAccount?.Transactions ?? [];
|
|
||||||
if (account.LastReconciled.Valid)
|
if (account.LastReconciled.Valid)
|
||||||
account.LastReconciled.Time = new Date(
|
account.LastReconciled.Time = new Date(
|
||||||
account.LastReconciled.Time
|
account.LastReconciled.Time
|
||||||
|
Loading…
x
Reference in New Issue
Block a user