mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-25 09:09:48 +00:00
23 lines
440 B
TypeScript
23 lines
440 B
TypeScript
// @ts-nocheck
|
|
import t from '@/store/types';
|
|
|
|
export const setEstimatesTableState = (queries) => {
|
|
return {
|
|
type: t.ESTIMATES_TABLE_STATE_SET,
|
|
payload: { queries },
|
|
};
|
|
};
|
|
|
|
export const resetEstimatesTableState = () => {
|
|
return {
|
|
type: t.ESTIMATES_TABLE_STATE_RESET,
|
|
};
|
|
}
|
|
|
|
export const setEstimatesSelectedRows = (selectedRows) => {
|
|
return {
|
|
type: 'ESTIMATES/SET_SELECTED_ROWS',
|
|
payload: selectedRows,
|
|
};
|
|
};
|