Browse Source

set loading...

pull/1/head
wahyuun 1 year ago
parent
commit
4f872e8cf1
  1. 4
      src/views/SimproV2/CreatedProyek/index.js

4
src/views/SimproV2/CreatedProyek/index.js

@ -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)
}
}

Loading…
Cancel
Save