Client: 20 item pagination

This commit is contained in:
Donkie
2023-07-06 14:54:48 +02:00
parent fe85caa44b
commit 97170719b2
3 changed files with 12 additions and 0 deletions

View File

@@ -19,6 +19,10 @@ dayjs.extend(utc);
export const SpoolList: React.FC<IResourceComponentsProps> = () => {
const { tableProps } = useTable({
syncWithLocation: true,
pagination: {
mode: "client",
pageSize: 20,
},
});
tableProps.dataSource?.forEach((element) => {