mirror of
https://github.com/plankanban/planka.git
synced 2025-07-21 14:19:44 +02:00
22 lines
476 B
JavaScript
22 lines
476 B
JavaScript
|
import EntryActionTypes from '../../constants/EntryActionTypes';
|
||
|
import ModalTypes from '../../constants/ModalTypes';
|
||
|
|
||
|
export const openUsersModal = () => ({
|
||
|
type: EntryActionTypes.MODAL_OPEN,
|
||
|
payload: {
|
||
|
type: ModalTypes.USERS,
|
||
|
},
|
||
|
});
|
||
|
|
||
|
export const openAddProjectModal = () => ({
|
||
|
type: EntryActionTypes.MODAL_OPEN,
|
||
|
payload: {
|
||
|
type: ModalTypes.ADD_PROJECT,
|
||
|
},
|
||
|
});
|
||
|
|
||
|
export const closeModal = () => ({
|
||
|
type: EntryActionTypes.MODAL_CLOSE,
|
||
|
payload: {},
|
||
|
});
|