Skip to content

Commit 4f7fed9

Browse files
craig[bot]kyle-a-wong
andcommitted
Merge #145561
145561: ui: fix pagination page size selector r=kyle-a-wong a=kyle-a-wong Fixes a bug where the page size selector would disappear when the page size selected was greate than the total number of results being paginated. Specifically, this happens when the hideOnSinglePage prop is used on the AntD Pagination component. It's not clear if this is intended functionality or if it is a bug. To fix, the setting of this prop has been removed in the wrapper component. Epic: CC-31904 Release note: None Co-authored-by: Kyle Wong <[email protected]>
2 parents 7620876 + f821dc9 commit 4f7fed9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/ui/workspaces/cluster-ui/src/pagination/pagination.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ export const Pagination: React.FC<AntPaginationProps> = props => {
4141
{...props}
4242
size="small"
4343
itemRender={itemRenderer}
44-
hideOnSinglePage
4544
className={cx("root")}
4645
/>
4746
);

0 commit comments

Comments
 (0)