my cases portal module by loggedin user

This commit is contained in:
robert.bond@test.gov.wales
2021-09-17 16:37:06 +01:00
parent 219e6a4744
commit c96a72f124
26 changed files with 673 additions and 107 deletions
+7
View File
@@ -2,6 +2,7 @@ export const myCasesActionTypes = {
GETMYCASES: "GETMYCASES",
SETMYCASES: "SETMYCASES",
UPDATEMYCASES: "UPDATEMYCASES",
SETMYCASESDETAILS: "SETMYCASESDETAILS",
};
export const getMyCasesObj = () => (dispatch) => {
@@ -16,3 +17,9 @@ export const setMyCases = (myCases) => (dispatch) => {
myCases: myCases,
});
};
export const setMyCasesDetails = (myCasesDetails) => (dispatch) => {
return dispatch({
type: myCasesActionTypes.SETMYCASESDETAILS,
myCasesDetails: myCasesDetails,
});
};