added missing fuctionallity

This commit is contained in:
jfrye122
2023-05-14 21:02:09 -04:00
parent be9d285ac9
commit d19bc10865
18 changed files with 397 additions and 87 deletions

View File

@@ -6,6 +6,7 @@ const INITIAL_STATE = {
documentUploadInProgress: null,
documentUploadError: null,
deleteAfterUpload: false,
tmTicketJobId: null,
};
const appReducer = (state = INITIAL_STATE, action) => {
@@ -43,6 +44,11 @@ const appReducer = (state = INITIAL_STATE, action) => {
...state,
deleteAfterUpload: !state.deleteAfterUpload,
};
case AppActionTypes.SET_TM_TICKET_JOB_ID:
return {
...state,
tmTicketJobId: action.payload,
};
default:
return state;
}