Web: People: Fixed names of paging propertys, added selectedPage and selectedCount property
s
This commit is contained in:
parent
812d8db364
commit
04d139210d
@ -82,7 +82,7 @@ const SectionPagingContent = ({ fetchPeople, filter, onLoading }) => {
|
|||||||
console.log("Paging onChangePage", pageItem);
|
console.log("Paging onChangePage", pageItem);
|
||||||
}, []);*/
|
}, []);*/
|
||||||
|
|
||||||
const perPageItems = useMemo(() => [
|
const countItems = useMemo(() => [
|
||||||
{
|
{
|
||||||
key: 25,
|
key: 25,
|
||||||
label: "25 per page"
|
label: "25 per page"
|
||||||
@ -104,14 +104,16 @@ const SectionPagingContent = ({ fetchPeople, filter, onLoading }) => {
|
|||||||
nextLabel="Next"
|
nextLabel="Next"
|
||||||
//pageItems={pageItems}
|
//pageItems={pageItems}
|
||||||
//onSelectPage={onChangePage}
|
//onSelectPage={onChangePage}
|
||||||
perPageItems={perPageItems}
|
countItems={countItems}
|
||||||
onSelectPerPage={onChangePageSize}
|
onSelectCount={onChangePageSize}
|
||||||
displayItems={false}
|
displayItems={false}
|
||||||
disablePrevious={!filter.hasPrev()}
|
disablePrevious={!filter.hasPrev()}
|
||||||
disableNext={!filter.hasNext()}
|
disableNext={!filter.hasNext()}
|
||||||
previousAction={onPrevClick}
|
previousAction={onPrevClick}
|
||||||
nextAction={onNextClick}
|
nextAction={onNextClick}
|
||||||
openDirection="top"
|
openDirection="top"
|
||||||
|
//selectedPage={} //FILTER CURRENT PAGE
|
||||||
|
//selectedCount={} //FILTER PAGE COUNT
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user