Global color schema, remove name and register number access in preferences, add alert in first startup wizard

This commit is contained in:
2024-11-26 20:13:54 +01:00
parent 51a2599545
commit 1a4b438191
26 changed files with 68 additions and 85 deletions

View File

@@ -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
})
},
/**