mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-14 20:54:30 +08:00
fix(web): enable client pagination in admin user detail tables (#18238)
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user