mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
feat: fix items list datatable.
This commit is contained in:
@@ -18,6 +18,7 @@ import {
|
||||
CostPriceCell,
|
||||
ItemTypeAccessor,
|
||||
ItemsActionsTableCell,
|
||||
ItemsActionMenuList
|
||||
} from './components';
|
||||
|
||||
// Items datatable.
|
||||
@@ -118,11 +119,14 @@ function ItemsDataTable({
|
||||
manualSortBy={true}
|
||||
pagesCount={1}
|
||||
autoResetSortBy={false}
|
||||
autoResetPage={false}
|
||||
autoResetPage={true}
|
||||
manualPagination={true}
|
||||
TableLoadingRenderer={TableSkeletonRows}
|
||||
TableHeaderSkeletonRenderer={TableSkeletonHeader}
|
||||
initialPageSize={pagination.pageSize}
|
||||
initialPageIndex={pagination.page}
|
||||
|
||||
pageSize={pagination.pageSize}
|
||||
pageIndex={pagination.page - 1}
|
||||
ContextMenu={ItemsActionMenuList}
|
||||
{...tableProps}
|
||||
/>
|
||||
</Choose.Otherwise>
|
||||
|
||||
Reference in New Issue
Block a user