|
|
@ -229,7 +229,7 @@ const DialogHierarchy = ({ openDialog, closeDialog, toggleDialog, idTask, proyek |
|
|
|
.then(res => res) |
|
|
|
.then(res => res) |
|
|
|
.catch((error) => error.response); |
|
|
|
.catch((error) => error.response); |
|
|
|
|
|
|
|
|
|
|
|
if (result && result.data && result.data.code === 200) { |
|
|
|
if (result && result.data && result.status === 200) { |
|
|
|
getdataHierarchy() |
|
|
|
getdataHierarchy() |
|
|
|
setIdDelete(0) |
|
|
|
setIdDelete(0) |
|
|
|
setAlertDelete(false) |
|
|
|
setAlertDelete(false) |
|
|
|