Merge branch 'main' of https://git.marcoaiot.com/admin/marco.pms.web into Issues_July_2W
This commit is contained in:
commit
9d8bb45127
@ -120,7 +120,7 @@ export const useEmployeesAllOrByProjectId = (projectId, showInactive) => {
|
|||||||
: ['projectEmployees', projectId];
|
: ['projectEmployees', projectId];
|
||||||
|
|
||||||
const queryFn = async () => {
|
const queryFn = async () => {
|
||||||
if (isAllEmployees) {
|
if (isAllEmployees) {
|
||||||
const res = await EmployeeRepository.getAllEmployeeList(showInactive);
|
const res = await EmployeeRepository.getAllEmployeeList(showInactive);
|
||||||
return res.data;
|
return res.data;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user