Browse Source

update plan bar

pull/1/head
wahyu 1 year ago
parent
commit
a60ef4bc8f
  1. 7
      src/views/Dashboard/DashboardProject.js

7
src/views/Dashboard/DashboardProject.js

@ -424,14 +424,7 @@ const DashboardProject = () => {
result.data.data[0].data?.percentagePlan && result.data.data[0].data?.percentagePlan &&
result.data.data[0].data?.percentagePlan.length > 0 result.data.data[0].data?.percentagePlan.length > 0
) { ) {
if (SCURVE && SCURVE == "1") {
planningProgress =
result.data.data[0].data?.percentagePlan[
result.data.data[0].data?.percentagePlan.length - 1
];
} else {
planningProgress = result.data.data[0].data?.percentagePlan[n]; planningProgress = result.data.data[0].data?.percentagePlan[n];
}
setPlanningProgress(planningProgress); setPlanningProgress(planningProgress);
} }
if ( if (

Loading…
Cancel
Save