Convert frontend to Vue #3

Merged
jacob1123 merged 158 commits from vue into master 2022-02-08 22:20:11 +01:00
Showing only changes of commit b6628dd8cb - Show all commits

View File

@ -66,10 +66,10 @@ export const store = createStore<State>({
state.CurrentAccountID = restoredState.CurrentAccountID; state.CurrentAccountID = restoredState.CurrentAccountID;
state.ShowMenu = restoredState.ShowMenu; state.ShowMenu = restoredState.ShowMenu;
for (const budget of restoredState.Budgets) { for (const budget of restoredState.Budgets || []) {
state.Budgets.set(budget[0], budget[1]); state.Budgets.set(budget[0], budget[1]);
} }
for (const account of restoredState.Accounts) { for (const account of restoredState.Accounts || []) {
state.Accounts.set(account[0], account[1]); state.Accounts.set(account[0], account[1]);
} }
}, },