diff --git a/frontend/src/pages/cases/components/IncomeDriverDashboard.js b/frontend/src/pages/cases/components/IncomeDriverDashboard.js index 2ad600c5..3020c46e 100644 --- a/frontend/src/pages/cases/components/IncomeDriverDashboard.js +++ b/frontend/src/pages/cases/components/IncomeDriverDashboard.js @@ -136,7 +136,7 @@ const IncomeDriverDashboard = ({ scenarioDataTmp ); const isUpdated = isBinningDataUpdated || isScenarioDataUpdated; - console.info(isUpdated); + // Save api .post(`visualization?updated=${isUpdated}`, payloads) diff --git a/frontend/src/pages/cases/components/IncomeDriverDataEntry.js b/frontend/src/pages/cases/components/IncomeDriverDataEntry.js index 0929e5b8..208cf25c 100644 --- a/frontend/src/pages/cases/components/IncomeDriverDataEntry.js +++ b/frontend/src/pages/cases/components/IncomeDriverDataEntry.js @@ -88,7 +88,7 @@ const IncomeDriverDataEntry = ({ currentCaseId, commodityList ); - apiCalls.push(api.post("/segment", postPayloads)); + apiCalls.push(api.post(`/segment?updated=${isUpdated}`, postPayloads)); } if (putFormValues.length) { const putPayloads = generateSegmentPayloads(