|
|
|
@ -245,7 +245,9 @@ const CreatedProyek = ({ params, ...props }) => {
|
|
|
|
|
.then((res) => res) |
|
|
|
|
.catch((err) => err.response); |
|
|
|
|
if (result && result.data && result.data.code === 200) { |
|
|
|
|
setDataDivisions(result.data.data); |
|
|
|
|
const dataRes = result.data.data; |
|
|
|
|
const filteredData = dataRes.filter(item => item.parent === null); |
|
|
|
|
setDataDivisions(filteredData); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
@ -1878,6 +1880,7 @@ const CreatedProyek = ({ params, ...props }) => {
|
|
|
|
|
projectK3={projectK3Search} |
|
|
|
|
assignHR={projectAssignHR} |
|
|
|
|
projectImage={image} |
|
|
|
|
idTask={idTask} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
[openDialogViewDetail] |
|
|
|
|