Browse Source

Merge pull request 'bypass hierarchy check' (#150) from dev-wahyu into staging

Reviewed-on: ordo/adw-frontend#150
pull/1/head
farhantock 1 year ago
parent
commit
87f2be4405
  1. 2
      src/views/Dashboard/DashboardProject.js

2
src/views/Dashboard/DashboardProject.js

@ -356,7 +356,7 @@ const DashboardProject = () => {
const getSCurve = async () => {
setIsReadySCurve(false);
let URL = `${BASE_OSPRO}/api/project/get-s-curve`;
if (SCURVE && SCURVE == "1" && isHierarchy) {
if (SCURVE && SCURVE == "1") {
URL = `${BASE_OSPRO}/api/project/calculate-s-curve`;
}

Loading…
Cancel
Save