diff --git a/client/src/pages/filaments/list.tsx b/client/src/pages/filaments/list.tsx index 3a3804e..053806e 100644 --- a/client/src/pages/filaments/list.tsx +++ b/client/src/pages/filaments/list.tsx @@ -19,10 +19,9 @@ dayjs.extend(utc); export const FilamentList: React.FC = () => { const { tableProps, sorters } = useTable({ - syncWithLocation: true, + syncWithLocation: false, pagination: { - mode: "client", - pageSize: 20, + mode: "off", // Perform pagination in antd's Table instead. Otherwise client-side sorting/filtering doesn't work. }, sorters: { mode: "off", // Disable server-side sorting @@ -43,7 +42,12 @@ export const FilamentList: React.FC = () => { return ( - +
= () => { const { tableProps, sorters } = useTable({ - syncWithLocation: true, + syncWithLocation: false, pagination: { - mode: "client", - pageSize: 20, + mode: "off", // Perform pagination in antd's Table instead. Otherwise client-side sorting/filtering doesn't work. }, sorters: { mode: "off", // Disable server-side sorting @@ -52,7 +51,12 @@ export const SpoolList: React.FC = () => { return ( -
+
= () => { const { tableProps, sorters } = useTable({ - syncWithLocation: true, + syncWithLocation: false, pagination: { - mode: "client", - pageSize: 20, + mode: "off", // Perform pagination in antd's Table instead. Otherwise client-side sorting/filtering doesn't work. }, sorters: { mode: "off", // Disable server-side sorting @@ -41,13 +40,18 @@ export const VendorList: React.FC = () => { return ( -
+