mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
refactoring: inventory adjustments list.
refactoring: items categories list.
This commit is contained in:
@@ -531,8 +531,10 @@ export function globalTableStateToTable(globalState) {
|
||||
* Transformes the pagination meta repsonse.
|
||||
*/
|
||||
export function transformPagination(pagination) {
|
||||
const transformed = transformResponse(pagination);
|
||||
|
||||
return {
|
||||
...pagination,
|
||||
pagesCount: getPagesCountFromPaginationMeta(pagination),
|
||||
}
|
||||
...transformed,
|
||||
pagesCount: getPagesCountFromPaginationMeta(transformed),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user