added back missing files
This commit is contained in:
@@ -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,
|
||||
});
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user