Fix admin user list being empty
After 4ff3dcb
the admin user list became empty due to a messing fetch of
the userStore on the admin page.
This commit is contained in:
parent
9013e85ff0
commit
31f80daa86
1 changed files with 3 additions and 0 deletions
|
@ -101,6 +101,9 @@ useHead({
|
||||||
title: "Admin",
|
title: "Admin",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const usersStore = useUsersStore();
|
||||||
|
await usersStore.fetch();
|
||||||
|
|
||||||
const tabs = [
|
const tabs = [
|
||||||
{ id: "users", title: "Users" },
|
{ id: "users", title: "Users" },
|
||||||
{ id: "database", title: "Database" },
|
{ id: "database", title: "Database" },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue