|
|
@ -1088,7 +1088,7 @@ const CreatedProyek = ({ params, ...props }) => { |
|
|
|
const request = data.map((res) => { |
|
|
|
const request = data.map((res) => { |
|
|
|
const payload = { |
|
|
|
const payload = { |
|
|
|
proyek_id: parseInt(id), |
|
|
|
proyek_id: parseInt(id), |
|
|
|
tittle: res.title, |
|
|
|
tittle: res.tittle, |
|
|
|
name: res.name, |
|
|
|
name: res.name, |
|
|
|
date_approval: res.date, |
|
|
|
date_approval: res.date, |
|
|
|
}; |
|
|
|
}; |
|
|
@ -1273,7 +1273,7 @@ const CreatedProyek = ({ params, ...props }) => { |
|
|
|
const request = data.map((res) => { |
|
|
|
const request = data.map((res) => { |
|
|
|
const payload = { |
|
|
|
const payload = { |
|
|
|
proyek_id: parseInt(id), |
|
|
|
proyek_id: parseInt(id), |
|
|
|
tittle: res.tittle ? res.tittle : res.title, |
|
|
|
tittle: res.tittle ? res.tittle : res.tittle, |
|
|
|
name: res.name, |
|
|
|
name: res.name, |
|
|
|
date_approval: res.date ? res.date : res.date_approval, |
|
|
|
date_approval: res.date ? res.date : res.date_approval, |
|
|
|
}; |
|
|
|
}; |
|
|
|