added back missing files

This commit is contained in:
2021-07-19 21:49:14 +01:00
parent 016c960720
commit de84da00c2
16 changed files with 610 additions and 192 deletions
+7
View File
@@ -7,6 +7,7 @@ export const appealTypeDataActionTypes = {
SETAPPEALTYPETITLEDATA: "SETAPPEALTYPETITLEDATA",
UPDATEAPPEALTYPEDATA: "UPDATEAPPEALTYPEDATA",
SETCURRENTSECTION: "SETCURRENTSECTION",
SETAPPEALLPA: "SETAPPEALLPA",
};
export const getAppealTypeObj = () => (dispatch) => {
@@ -41,3 +42,9 @@ export const setCurrentSection = (currentSection) => (dispatch) => {
currentSection: currentSection,
});
};
export const setAppealLPA = (appealLPA) => (dispatch) => {
return dispatch({
type: appealTypeDataActionTypes.SETAPPEALLPA,
appealLPA: appealLPA,
});
};
+7
View File
@@ -5,6 +5,7 @@ const appealTypeDataInitialState = {
appealTypeTitle: {},
appealTypeID: {},
currentSection: 1,
appealLPA: "",
};
export default function reducer(state = appealTypeDataInitialState, action) {
@@ -29,6 +30,12 @@ export default function reducer(state = appealTypeDataInitialState, action) {
...state,
currentSection: action.currentSection,
};
case appealTypeDataActionTypes.SETAPPEALLPA:
return {
...state,
appealLPA: action.appealLPA,
};
default:
return state;
}