added in message queue for applications and reps

This commit is contained in:
2023-01-19 17:25:16 +00:00
parent 0c1de7d26b
commit d3bba6c620
16 changed files with 405 additions and 77 deletions
+15
View File
@@ -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,