Added read only invocies. Removed added reducer coe that was needed BOD-408

This commit is contained in:
Patrick Fic
2020-09-28 15:23:28 -07:00
parent cb412f377e
commit 6b6d052e74
17 changed files with 144 additions and 62 deletions

View File

@@ -11,7 +11,6 @@ const INITIAL_STATE = {
error: null,
},
jobReadOnly: false,
billReadOnly: false,
};
const applicationReducer = (state = INITIAL_STATE, action) => {
@@ -65,8 +64,6 @@ const applicationReducer = (state = INITIAL_STATE, action) => {
loading: false,
};
case ApplicationActionTypes.SET_BILL_READONLY:
return { ...state, billReadOnly: action.payload };
case ApplicationActionTypes.SET_JOB_READONLY:
return { ...state, jobReadOnly: action.payload };