added in message queue for applications and reps
This commit is contained in:
@@ -6,6 +6,7 @@ const currentViewInitialState = {
|
||||
representationCapacity: {},
|
||||
representationSubmit: "",
|
||||
representationSubmitConfirmation: {},
|
||||
representationMessageSent: false,
|
||||
linkedCaseReferences: {},
|
||||
currentPage: 1,
|
||||
showReps: false,
|
||||
@@ -45,6 +46,20 @@ export default function reducer(state = currentViewInitialState, action) {
|
||||
representationSubmitConfirmation:
|
||||
action.representationSubmitConfirmation,
|
||||
};
|
||||
case currentViewActionTypes.SETREPRESENTATIONMESSAGESENT:
|
||||
return {
|
||||
...state,
|
||||
representationMessageSent: action.representationMessageSent,
|
||||
};
|
||||
|
||||
case currentViewActionTypes.SETREPRESENTATIONRESET:
|
||||
return {
|
||||
...state,
|
||||
representationCapacity: {},
|
||||
representationSubmit: "",
|
||||
representationSubmitConfirmation: {},
|
||||
representationMessageSent: false,
|
||||
};
|
||||
case currentViewActionTypes.SETCURRENTPAGE:
|
||||
return {
|
||||
...state,
|
||||
|
||||
Reference in New Issue
Block a user