1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00

fix(kubernetes): Display more than 10 workloads under Helm expandable in the Applications view [R8S-339] (#781)

This commit is contained in:
Cara Ryan 2025-06-09 15:12:24 +12:00 committed by GitHub
parent 9a85246631
commit c9e3717ce3
3 changed files with 47 additions and 2 deletions

View file

@ -25,7 +25,7 @@ interface Props<D extends DefaultType> extends AutomationTestingProps {
initialTableState?: Partial<TableState>;
isLoading?: boolean;
initialSortBy?: BasicTableSettings['sortBy'];
enablePagination?: boolean;
/**
* keyword to filter by
*/
@ -42,6 +42,7 @@ export function NestedDatatable<D extends DefaultType>({
initialTableState = {},
isLoading,
initialSortBy,
enablePagination = true,
search,
'data-cy': dataCy,
'aria-label': ariaLabel,
@ -65,7 +66,7 @@ export function NestedDatatable<D extends DefaultType>({
getCoreRowModel: getCoreRowModel(),
getFilteredRowModel: getFilteredRowModel(),
getSortedRowModel: getSortedRowModel(),
getPaginationRowModel: getPaginationRowModel(),
...(enablePagination && { getPaginationRowModel: getPaginationRowModel() }),
});
return (