fixed admin search
This commit is contained in:
@@ -8,12 +8,13 @@ import { useSession } from "next-auth/react";
|
|||||||
|
|
||||||
const AdminUserPage = () => {
|
const AdminUserPage = () => {
|
||||||
const { data: session } = useSession();
|
const { data: session } = useSession();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<PaginatedTable
|
<PaginatedTable
|
||||||
stickyHeaders
|
stickyHeaders
|
||||||
prismaModel="user"
|
prismaModel="user"
|
||||||
searchFields={["publicId", "firstname", "lastname", "email", "discordAccounts.username"]}
|
searchFields={["publicId", "firstname", "lastname", "email"]}
|
||||||
include={{
|
include={{
|
||||||
discordAccounts: true,
|
discordAccounts: true,
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user