mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
fix: Invoice View.
This commit is contained in:
@@ -69,7 +69,8 @@ export const fetchInvoicesTable = ({ query } = {}) => {
|
||||
payload: {
|
||||
sales_invoices: response.data.sales_invoices,
|
||||
pagination: response.data.pagination,
|
||||
customViewId: response.data.customViewId || -1,
|
||||
customViewId:
|
||||
response.data?.filter_meta?.view?.custom_view_id || -1,
|
||||
},
|
||||
});
|
||||
dispatch({
|
||||
@@ -82,7 +83,7 @@ export const fetchInvoicesTable = ({ query } = {}) => {
|
||||
type: t.INVOICES_PAGINATION_SET,
|
||||
payload: {
|
||||
pagination: response.data.pagination,
|
||||
customViewId: response.data.customViewId || -1,
|
||||
customViewId: response.data?.filter_meta?.view?.custom_view_id ||-1
|
||||
},
|
||||
});
|
||||
dispatch({
|
||||
|
||||
Reference in New Issue
Block a user