mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
WIP General Search.
This commit is contained in:
@@ -1,5 +1,19 @@
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user