Fix reference to account.Transactions
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Jan Bader 2022-09-23 21:03:12 +00:00
parent 88283a8817
commit a0e6dc0f1b

View File

@ -59,8 +59,6 @@ export const useBudgetsStore = defineStore("budget", {
MergeBudgetingData(response: any) {
const accounts = useAccountStore();
for (const account of response.Accounts || []) {
const existingAccount = accounts.Accounts.get(account.ID);
account.Transactions = existingAccount?.Transactions ?? [];
if (account.LastReconciled.Valid)
account.LastReconciled.Time = new Date(
account.LastReconciled.Time