Browse Source

Merge pull request 'staging' (#57) from staging into master

Reviewed-on: ordo/adw-frontend#57
pull/2/head
ibnu 2 years ago
parent
commit
367c5b19dc
  1. 6
      src/views/Dashboard/DashboardBOD.js
  2. 4
      src/views/SimproV2/CreatedProyek/DialogFormProyek.js

6
src/views/Dashboard/DashboardBOD.js

@ -307,8 +307,10 @@ const DashboardBOD = () => {
let actualProgress = 0;
let selisihProgress = 0;
// planningProgress = item.scurve[0].data.percentagePlan[item.scurve[0].data.percentagePlan.length - 1]
// actualProgress = item.scurve[0].data.percentageReal[item.scurve[0].data.percentageReal.length - 1]
if(item.scurve && item.scurve[0]) {
planningProgress = item.scurve[0].data.percentagePlan[item.scurve[0].data.percentagePlan.length - 1]
actualProgress = item.scurve[0].data.percentageReal[item.scurve[0].data.percentageReal.length - 1]
}
selisihProgress = planningProgress - actualProgress

4
src/views/SimproV2/CreatedProyek/DialogFormProyek.js

@ -654,8 +654,8 @@ const DialogFormProyek = ({
<Option key="warning" value="warning">
Warning
</Option>
<Option key="danger" value="danger">
Danger
<Option key="overrun" value="overrun">
Overrun
</Option>
</Select>
</FormGroup>

Loading…
Cancel
Save