Fix Map.values() access and convert to array
This commit is contained in:
@ -21,7 +21,7 @@ export const useSessionStore = defineStore('session', {
|
||||
Budgets: new Map<string, Budget>(),
|
||||
}),
|
||||
getters: {
|
||||
BudgetsList: (state) => state.Budgets.values(),
|
||||
BudgetsList: (state) => [ ...state.Budgets.values() ],
|
||||
AuthHeaders: (state) => ({'Authorization': 'Bearer ' + state.Token}),
|
||||
LoggedIn: (state) => state.Token != null,
|
||||
},
|
||||
|
Reference in New Issue
Block a user