mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
23 lines
322 B
JavaScript
23 lines
322 B
JavaScript
import t from 'store/types';
|
|
|
|
export function openSearch(result) {
|
|
return {
|
|
type: t.OPEN_SEARCH,
|
|
result,
|
|
};
|
|
}
|
|
|
|
export function closeSearch(result) {
|
|
return {
|
|
type: t.ClOSE_SEARCH,
|
|
result,
|
|
};
|
|
}
|
|
|
|
export function generalSearch(name, result) {
|
|
return {
|
|
type: t.SEARCH_SUCCESS,
|
|
result,
|
|
};
|
|
}
|