diff --git a/app/(dashboard)/proxy-hosts/ProxyHostsClient.tsx b/app/(dashboard)/proxy-hosts/ProxyHostsClient.tsx index be9ef1a4..a5ff2d24 100644 --- a/app/(dashboard)/proxy-hosts/ProxyHostsClient.tsx +++ b/app/(dashboard)/proxy-hosts/ProxyHostsClient.tsx @@ -21,9 +21,10 @@ type Props = { certificates: Certificate[]; accessLists: AccessList[]; authentikDefaults: AuthentikSettings | null; + pagination: { total: number; page: number; perPage: number }; }; -export default function ProxyHostsClient({ hosts, certificates, accessLists, authentikDefaults }: Props) { +export default function ProxyHostsClient({ hosts, certificates, accessLists, authentikDefaults, pagination }: Props) { const [createOpen, setCreateOpen] = useState(false); const [duplicateHost, setDuplicateHost] = useState(null); const [editHost, setEditHost] = useState(null); @@ -159,6 +160,7 @@ export default function ProxyHostsClient({ hosts, certificates, accessLists, aut data={filteredHosts} keyField="id" emptyMessage={searchTerm ? "No hosts match your search" : "No proxy hosts found"} + pagination={pagination} /> ; + return ( + + ); }