add getemployeebyid call N costcenter dropdown
This commit is contained in:
@@ -46,8 +46,7 @@ const employeeReducer = (state = INITIAL_STATE, action) => {
|
||||
case EmployeeActionTypes.EMPLOYEE_GET_RATES_SUCCESS:
|
||||
return {
|
||||
...state,
|
||||
//currentEmployee: { authorized: true, technician:action.payload },
|
||||
currentEmployee: { rates:action.payload },//TODO check if ...state needed
|
||||
currentEmployee: { ...state.currentEmployee, technician:action.payload },
|
||||
gettingRates: false,
|
||||
error: null,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user