mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 16:23:18 +01:00
Set Groups fetching async on user login
This commit is contained in:
parent
791421b105
commit
b9eb4f0afb
2
resources/js_vue3/stores/user.js
vendored
2
resources/js_vue3/stores/user.js
vendored
@ -44,7 +44,7 @@ export const useUserStore = defineStore({
|
||||
|
||||
if (this.isAuthenticated) {
|
||||
await accounts.fetch()
|
||||
await groups.fetch()
|
||||
groups.fetch()
|
||||
}
|
||||
else {
|
||||
accounts.$reset()
|
||||
|
Loading…
Reference in New Issue
Block a user