Implement transfer creation #19

Merged
jacob1123 merged 5 commits from enable-transfers into master 2022-02-24 00:13:20 +01:00
Showing only changes of commit 635f4de402 - Show all commits

View File

@ -36,8 +36,10 @@ export const useSessionStore = defineStore('session', {
this.Session = { this.Session = {
User: x.User, User: x.User,
Token: x.Token, Token: x.Token,
}, }
this.Budgets = x.Budgets; for (const budget of x.Budgets) {
this.Budgets.set(budget.ID, budget);
}
}, },
async login(login: any) { async login(login: any) {
const response = await POST("/user/login", JSON.stringify(login)); const response = await POST("/user/login", JSON.stringify(login));