|
|
@ -35,9 +35,9 @@ const AssignHrProject = ({ openDialog, closeDialog, toggleDialog, idTask, toolsR |
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
useEffect(() => { |
|
|
|
if (dataUserToProject.length > 0 && openDialog) { |
|
|
|
if (dataUserToProject.length > 0 && openDialog) { |
|
|
|
getDataUser(); |
|
|
|
|
|
|
|
getDataProjectRole(); |
|
|
|
getDataProjectRole(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
getDataUser(); |
|
|
|
}, [dataUserToProject]) |
|
|
|
}, [dataUserToProject]) |
|
|
|
|
|
|
|
|
|
|
|
const getDataAssignHr = async () => { |
|
|
|
const getDataAssignHr = async () => { |
|
|
|