update save approval
This commit is contained in:
parent
d9fcd2ec32
commit
0b40c99ce9
|
|
@ -1018,12 +1018,12 @@ export default function FormImageDetail() {
|
|||
|
||||
console.log("Data Approval : ", data);
|
||||
setModalOpen(false);
|
||||
// loading();
|
||||
// const response = await submitApproval(data);
|
||||
// if (response?.error) {
|
||||
// error(response.message);
|
||||
// return false;
|
||||
// }
|
||||
loading();
|
||||
const response = await submitApproval(data);
|
||||
if (response?.error) {
|
||||
error(response.message);
|
||||
return false;
|
||||
}
|
||||
|
||||
const dataReject = {
|
||||
listFiles: rejectedFiles,
|
||||
|
|
|
|||
Loading…
Reference in New Issue