diff --git a/src/views/Dashboard/DashboardProject.js b/src/views/Dashboard/DashboardProject.js index fef6818..76ad3b6 100644 --- a/src/views/Dashboard/DashboardProject.js +++ b/src/views/Dashboard/DashboardProject.js @@ -325,12 +325,14 @@ const DashboardProject = () => { ); setPlannedFinish( SCURVE - ? result.data.data.akhir_proyek + ? result.data.data.type_proyek_id === 9 ? result.data.data.akhir_proyek - : null + ? result.data.data.akhir_proyek + : null : result.data.data.header?.planned_end - ? result.data.data.header?.planned_end - : null + : result.data.data.header?.planned_end + ? result.data.data.header?.planned_end + : null ); setActualStart( result.data.data.header?.start_date