Compare commits

..

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

View File

@ -120,11 +120,11 @@ export const useEmployeesAllOrByProjectId = (projectId, showInactive) => {
: ['projectEmployees', projectId];
const queryFn = async () => {
if (isAllEmployees) {
if (isAllEmployees) {
const res = await EmployeeRepository.getAllEmployeeList(showInactive);
return res.data;
} else {
const res = await EmployeeRepository.getEmployeeListByproject(projectId);
const res = await ProjectRepository.getEmployeesByProject(projectId);
return res.data;
}
};