From 78c12d1e1d65a4b2f9e8bc5f05f43a66af773731 Mon Sep 17 00:00:00 2001 From: Bhavya-egov Date: Wed, 6 Nov 2024 17:55:38 +0530 Subject: [PATCH] fixed draft issue --- .../campaign-manager/src/pages/employee/CycleConfiguration.js | 3 +++ .../campaign-manager/src/pages/employee/deliveryRule/index.js | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/CycleConfiguration.js b/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/CycleConfiguration.js index fa2cf5249a8..9d6c768b349 100644 --- a/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/CycleConfiguration.js +++ b/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/CycleConfiguration.js @@ -78,6 +78,9 @@ function CycleConfiguration({ onSelect, formData, control, ...props }) { "HCM-PROJECT-TYPES", [{ name: "projectTypes" }], { + staleTime: 0, + cacheTime: 0, + enabled: true, select: (data) => { const temp= getDeliveryConfig({data: data?.["HCM-PROJECT-TYPES"], projectType:selectedProjectType}); return temp; diff --git a/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/deliveryRule/index.js b/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/deliveryRule/index.js index 8c374479448..67573525daf 100644 --- a/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/deliveryRule/index.js +++ b/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/deliveryRule/index.js @@ -26,7 +26,11 @@ function DeliverySetup({ onSelect, config, formData, control, tabCount = 2, subT "HCM-PROJECT-TYPES", [{ name: "projectTypes" }], { + staleTime: 0, + cacheTime: 0, + enabled: true, select: (data) => { + const temp= getDeliveryConfig({data: data?.["HCM-PROJECT-TYPES"], projectType:selectedProjectType}); return temp; },