mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
Fix: fontent api
This commit is contained in:
@@ -25,13 +25,13 @@ export const fetchItems = ({ query }) => {
|
||||
.then((response) => {
|
||||
dispatch({
|
||||
type: t.ITEMS_SET,
|
||||
items: response.data.items.results,
|
||||
items: response.data.items,
|
||||
});
|
||||
dispatch({
|
||||
type: t.ITEMS_PAGE_SET,
|
||||
items: response.data.items.results,
|
||||
items: response.data.items,
|
||||
customViewId: response.data.customViewId,
|
||||
paginationMeta: response.data.items.pagination,
|
||||
paginationMeta: response.data.pagination,
|
||||
});
|
||||
dispatch({
|
||||
type: t.ITEMS_TABLE_LOADING,
|
||||
|
||||
Reference in New Issue
Block a user