show submitted reps on dashboard
This commit is contained in:
@@ -3,6 +3,8 @@ export const myRepresentationsActionTypes = {
|
||||
SETMYREPRESENTATIONS: "SETMYREPRESENTATIONS",
|
||||
SETMYREPRESENTATIONSDETAILS: "SETMYREPRESENTATIONSDETAILS",
|
||||
UPDATEMYREPRESENTATIONS: "UPDATEMYREPRESENTATIONS",
|
||||
SETMYSUBMITTEDREPS: "SETMYSUBMITTEDREPS",
|
||||
SETMYSUBMITTEDREPSDETAILS: "SETMYSUBMITTEDREPSDETAILS",
|
||||
};
|
||||
|
||||
export const getMyRepresentationsObj = () => (dispatch) => {
|
||||
@@ -25,3 +27,18 @@ export const setMyRepresentationsDetails =
|
||||
myRepresentationsDetails: myRepresentationsDetails,
|
||||
});
|
||||
};
|
||||
|
||||
export const setMySubmittedReps = (mySubmittedReps) => (dispatch) => {
|
||||
return dispatch({
|
||||
type: myRepresentationsActionTypes.SETMYSUBMITTEDREPS,
|
||||
mySubmittedReps: mySubmittedReps,
|
||||
});
|
||||
};
|
||||
|
||||
export const setMySubmittedRepsDetails =
|
||||
(mySubmittedRepsDetails) => (dispatch) => {
|
||||
return dispatch({
|
||||
type: myRepresentationsActionTypes.SETMYSUBMITTEDREPSDETAILS,
|
||||
mySubmittedRepsDetails: mySubmittedRepsDetails,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user