|
|
|
@ -1092,7 +1092,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, |
|
|
|
|
}; |
|
|
|
@ -1277,7 +1277,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, |
|
|
|
|
}; |
|
|
|
|