mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
feat: tables empty status.
This commit is contained in:
@@ -26,6 +26,8 @@ const customerPageSelector = (state, props) => {
|
||||
|
||||
const customersItemsSelector = (state) => state.customers.items;
|
||||
|
||||
const customersCurrentViewIdSelector = (state) => state.customers.currentViewId;
|
||||
|
||||
export const getCustomerTableQueryFactory = () =>
|
||||
createSelector(
|
||||
paginationLocationQuery,
|
||||
@@ -61,3 +63,8 @@ export const getCustomerPaginationMetaFactory = () =>
|
||||
...(customerPage?.paginationMeta || {}),
|
||||
};
|
||||
});
|
||||
|
||||
export const getCustomersCurrentViewIdFactory = () =>
|
||||
createSelector(customersCurrentViewIdSelector, (currentViewId) => {
|
||||
return currentViewId;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user