mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
17 lines
317 B
JavaScript
17 lines
317 B
JavaScript
import t from 'store/types';
|
|
|
|
/**
|
|
* Sets the customers table state.
|
|
*/
|
|
export const setCustomersTableState = (queries) => {
|
|
return {
|
|
type: t.CUSTOMERS_TABLE_STATE_SET,
|
|
payload: { queries },
|
|
};
|
|
};
|
|
|
|
export const resetCustomersTableState = () => {
|
|
return {
|
|
type: t.CUSTOMERS_TABLE_STATE_RESET,
|
|
};
|
|
} |