From 8062623fa5476d483a8711d31672512ef1bbe3ba Mon Sep 17 00:00:00 2001 From: wahyu Date: Mon, 23 Oct 2023 09:10:20 +0700 Subject: [PATCH] bypass hierarchy check --- src/views/Dashboard/DashboardProject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Dashboard/DashboardProject.js b/src/views/Dashboard/DashboardProject.js index 2cf31c8..f8e59a3 100644 --- a/src/views/Dashboard/DashboardProject.js +++ b/src/views/Dashboard/DashboardProject.js @@ -357,7 +357,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`; }