Browse Source

update progress bar

pull/1/head
wahyu 1 year ago
parent
commit
de8bf1e88f
  1. 4
      src/views/Dashboard/DashboardProject.js

4
src/views/Dashboard/DashboardProject.js

@ -1464,10 +1464,10 @@ const DashboardProject = () => {
{isReadySCurve ? ( {isReadySCurve ? (
<ProgressActualBar <ProgressActualBar
progress={ progress={
planningProgress > 100 planningProgress > 100 || actualProgress > 100
? parseFloat( ? parseFloat(
(actualProgress / planningProgress) * 100 (actualProgress / planningProgress) * 100
).toFixed(2) ).toFixed(0)
: actualProgress : actualProgress
} }
/> />

Loading…
Cancel
Save