From c1c4579b3a6ec12c9b428018bbecae5ae9d9fa49 Mon Sep 17 00:00:00 2001 From: wahyuun Date: Mon, 13 Nov 2023 17:26:52 +0700 Subject: [PATCH 1/2] update payload Approval --- src/views/SimproV2/CreatedProyek/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/SimproV2/CreatedProyek/index.js b/src/views/SimproV2/CreatedProyek/index.js index 9b85ac1..e7b59d5 100644 --- a/src/views/SimproV2/CreatedProyek/index.js +++ b/src/views/SimproV2/CreatedProyek/index.js @@ -1088,7 +1088,7 @@ const CreatedProyek = ({ params, ...props }) => { const request = data.map((res) => { const payload = { proyek_id: parseInt(id), - tittle: res.title, + tittle: res.tittle, name: res.name, date_approval: res.date, }; @@ -1273,7 +1273,7 @@ const CreatedProyek = ({ params, ...props }) => { const request = data.map((res) => { const payload = { proyek_id: parseInt(id), - tittle: res.tittle ? res.tittle : res.title, + tittle: res.tittle ? res.tittle : res.tittle, name: res.name, date_approval: res.date ? res.date : res.date_approval, }; From cc88fd74991fd214fc54cf3da4f8233f61ab3512 Mon Sep 17 00:00:00 2001 From: wahyuun Date: Mon, 13 Nov 2023 17:30:23 +0700 Subject: [PATCH 2/2] update name & value input approval --- src/views/SimproV2/CreatedProyek/DialogFormProyek.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/SimproV2/CreatedProyek/DialogFormProyek.js b/src/views/SimproV2/CreatedProyek/DialogFormProyek.js index e09fd47..3f4d89b 100644 --- a/src/views/SimproV2/CreatedProyek/DialogFormProyek.js +++ b/src/views/SimproV2/CreatedProyek/DialogFormProyek.js @@ -1455,8 +1455,8 @@ const DialogFormProyek = ({ handleInputChangeApproval(e, index)} />