Set Groups fetching async on user login

This commit is contained in:
Bubka 2023-11-02 15:10:57 +01:00
parent 791421b105
commit b9eb4f0afb

View File

@ -44,7 +44,7 @@ export const useUserStore = defineStore({
if (this.isAuthenticated) {
await accounts.fetch()
await groups.fetch()
groups.fetch()
}
else {
accounts.$reset()