mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
WIP
This commit is contained in:
17
client/src/store/dashboard/dashboard.actions.js
Normal file
17
client/src/store/dashboard/dashboard.actions.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import t from 'store/types';
|
||||
|
||||
export function openDialog(name, payload) {
|
||||
return {
|
||||
type: t.OPEN_DIALOG,
|
||||
name: name,
|
||||
payload: payload,
|
||||
};
|
||||
};
|
||||
|
||||
export function closeDialog(name, payload) {
|
||||
return {
|
||||
type: t.CLOSE_DIALOG,
|
||||
name: name,
|
||||
payload: payload,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user