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