diff --git a/src/views/SimproV2/CreatedProyek/AsignHrProject.js b/src/views/SimproV2/CreatedProyek/AsignHrProject.js index 77bc5a1..4abb8a7 100644 --- a/src/views/SimproV2/CreatedProyek/AsignHrProject.js +++ b/src/views/SimproV2/CreatedProyek/AsignHrProject.js @@ -34,10 +34,10 @@ const AssignHrProject = ({ openDialog, closeDialog, toggleDialog, idTask, toolsR }, [openDialog]); useEffect(() => { - if (dataUserToProject.length > 0 && openDialog) { + if (openDialog) { getDataProjectRole(); + getDataUser(); } - getDataUser(); }, [dataUserToProject]) const getDataAssignHr = async () => {