Skip to content

Commit f821dc9

Browse files
committed
ui: fix pagination page size selector
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
1 parent 81377d1 commit f821dc9

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)