fix(web): enable client pagination in admin user detail tables (#18238)

This commit is contained in:
chanx
2026-08-14 09:34:06 +08:00
committed by GitHub
parent 423c8489b5
commit 1127ce0cb0

View File

@@ -9,6 +9,7 @@ import {
createColumnHelper,
flexRender,
getCoreRowModel,
getPaginationRowModel,
getSortedRowModel,
useReactTable,
} from '@tanstack/react-table';
@@ -130,6 +131,7 @@ function UserDatasetTable(props: {
getCoreRowModel: getCoreRowModel(),
getSortedRowModel: getSortedRowModel(),
getPaginationRowModel: getPaginationRowModel(),
enableSorting: false,
});
@@ -237,6 +239,7 @@ function UserAgentTable(props: { data?: AdminService.ListUserAgentItem[] }) {
getCoreRowModel: getCoreRowModel(),
getSortedRowModel: getSortedRowModel(),
getPaginationRowModel: getPaginationRowModel(),
enableSorting: false,
});