|
|
|
@ -525,6 +525,7 @@ const CreatedProyek = ({ params, ...props }) => {
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const handleOpenDialogViewDetail = async (data) => { |
|
|
|
|
setLoading(true); |
|
|
|
|
setidTask(data.id); |
|
|
|
|
// setDataView(data)
|
|
|
|
|
await getDataProject(data.id); |
|
|
|
@ -698,7 +699,10 @@ const CreatedProyek = ({ params, ...props }) => {
|
|
|
|
|
.then((res) => res) |
|
|
|
|
.catch((err) => err.response); |
|
|
|
|
if (result && result.data && result.data.code === 200) { |
|
|
|
|
setLoading(false) |
|
|
|
|
setProjectImage(result.data.data); |
|
|
|
|
}else{ |
|
|
|
|
setLoading(false) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|