From a61b16a8b82ef419b232dd558f6706e43850dbe3 Mon Sep 17 00:00:00 2001 From: wahyuun Date: Thu, 2 Nov 2023 12:12:10 +0700 Subject: [PATCH] planned finish --- src/views/Dashboard/DashboardProject.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/Dashboard/DashboardProject.js b/src/views/Dashboard/DashboardProject.js index 0177697..b546226 100644 --- a/src/views/Dashboard/DashboardProject.js +++ b/src/views/Dashboard/DashboardProject.js @@ -313,12 +313,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