Merge work.
This commit is contained in:
@@ -10,6 +10,8 @@ const INITIAL_STATE = {
|
||||
calculating: false,
|
||||
error: null,
|
||||
},
|
||||
jobReadOnly: false,
|
||||
billReadOnly: false,
|
||||
};
|
||||
|
||||
const applicationReducer = (state = INITIAL_STATE, action) => {
|
||||
@@ -63,6 +65,11 @@ 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 };
|
||||
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user