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