Global color schema, remove name and register number access in preferences, add alert in first startup wizard
This commit is contained in:
@@ -16,9 +16,10 @@ export const useAccountStore = defineStore("accountStore", {
|
||||
/** All accounts */
|
||||
accounts: ref<Array<AccountApiModel>>([]),
|
||||
|
||||
/** Useraccount which is currently logged in */
|
||||
/** Server token of currently logged in account */
|
||||
userAccountToken: useLocalStorage("hackmycart/accountStore/userAccountToken", ""),
|
||||
|
||||
/** Useraccount which is currently logged in */
|
||||
userAccount: useLocalStorage("hackmycart/accountStore/userAccount", new AccountApiModel()),
|
||||
|
||||
/** User input on login screen */
|
||||
@@ -49,6 +50,9 @@ export const useAccountStore = defineStore("accountStore", {
|
||||
this.accounts = response.data
|
||||
this.fetchInProgress = false
|
||||
})
|
||||
.catch(onrejected => {
|
||||
this.fetchInProgress = false
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user