Compare commits

..

No commits in common. "c704982f3c951c002d4ca9fd6f1e84affed70088" and "712001a559e1435874be2d22a5fd3a9f4157eea6" have entirely different histories.

View File

@ -124,7 +124,7 @@ export const useEmployeesAllOrByProjectId = (projectId, showInactive) => {
const res = await EmployeeRepository.getAllEmployeeList(showInactive); const res = await EmployeeRepository.getAllEmployeeList(showInactive);
return res.data; return res.data;
} else { } else {
const res = await EmployeeRepository.getEmployeeListByproject(projectId); const res = await ProjectRepository.getEmployeesByProject(projectId);
return res.data; return res.data;
} }
}; };