fixed admin search

This commit is contained in:
PxlLoewe
2025-12-26 01:25:17 +01:00
parent 17208eded9
commit e9a4c50a12

View File

@@ -8,12 +8,13 @@ import { useSession } from "next-auth/react";
const AdminUserPage = () => {
const { data: session } = useSession();
return (
<>
<PaginatedTable
stickyHeaders
prismaModel="user"
searchFields={["publicId", "firstname", "lastname", "email", "discordAccounts.username"]}
searchFields={["publicId", "firstname", "lastname", "email"]}
include={{
discordAccounts: true,
}}