mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 21:57:47 +02:00
Set Groups fetching async on user login
This commit is contained in:
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()
|
||||
|
Reference in New Issue
Block a user