Added read only invocies. Removed added reducer coe that was needed BOD-408
This commit is contained in:
@@ -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 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user