From 9e601c59af1d67f7132b4df757dec3776e9ac41f Mon Sep 17 00:00:00 2001 From: Nick Bodiford Date: Wed, 13 Mar 2024 17:07:09 -0500 Subject: [PATCH] Let through the table options that dont interfere with server side pagination. Signed-off-by: Nick Bodiford --- .../src/components/CatalogTable/PaginatedCatalogTable.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/catalog/src/components/CatalogTable/PaginatedCatalogTable.tsx b/plugins/catalog/src/components/CatalogTable/PaginatedCatalogTable.tsx index 382b970f75..34087f1b36 100644 --- a/plugins/catalog/src/components/CatalogTable/PaginatedCatalogTable.tsx +++ b/plugins/catalog/src/components/CatalogTable/PaginatedCatalogTable.tsx @@ -41,12 +41,13 @@ export function PaginatedCatalogTable(props: PaginatedCatalogTableProps) { columns={columns} data={data} options={{ + ...options, + // These settings are configured to force server side pagination paginationPosition: 'both', pageSizeOptions: [], showFirstLastPageButtons: false, pageSize: Number.MAX_SAFE_INTEGER, emptyRowsWhenPaging: false, - ...options, }} onSearchChange={(searchText: string) => updateFilters({