scinote-web/app/javascript/packs/shared/actions/LeaveTeamActions.js

9 lines
226 B
JavaScript
Raw Normal View History

2017-08-25 14:54:32 +08:00
import { SHOW_LEAVE_TEAM_MODAL } from "../../app/action_types";
2017-08-25 22:40:23 +08:00
export function leaveTeamModalShow(show = false, id = 0, teamName = "") {
return {
2017-08-25 22:07:37 +08:00
payload: { show, id, teamName },
2017-08-25 14:54:32 +08:00
type: SHOW_LEAVE_TEAM_MODAL
2017-08-25 22:40:23 +08:00
};
2017-08-25 14:54:32 +08:00
}