({
code: item?.parentCode,
diff --git a/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/CycleConfiguration.js b/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/CycleConfiguration.js
index f1f8fd6353e..9def51f18db 100644
--- a/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/CycleConfiguration.js
+++ b/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/CycleConfiguration.js
@@ -109,12 +109,14 @@ function CycleConfiguration({ onSelect, formData, control, ...props }) {
const updateCycle = (d) => {
if (d === 0 || d > 5) return;
+ if (Number(d?.target?.value) === 0 || Number(d?.target?.value) > 5) return;
// if (d?.target?.value.trim() === "") return;
dispatch({ type: "UPDATE_CYCLE", payload: d?.target?.value ? Number(d?.target?.value) : d?.target?.value === "" ? d.target.value : d });
};
const updateDelivery = (d) => {
if (d === 0 || d > 5) return;
+ if (Number(d?.target?.value) === 0 || Number(d?.target?.value) > 5) return;
// if (d?.target?.value.trim() === "") return;
dispatch({ type: "UPDATE_DELIVERY", payload: d?.target?.value ? Number(d?.target?.value) : d });
};
diff --git a/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/deliveryRule/AddDeliverycontext.js b/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/deliveryRule/AddDeliverycontext.js
index 6b40b6b20aa..5fa13f21671 100644
--- a/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/deliveryRule/AddDeliverycontext.js
+++ b/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/pages/employee/deliveryRule/AddDeliverycontext.js
@@ -548,7 +548,7 @@ const AddAttributeWrapper = ({ deliveryRuleIndex, delivery, deliveryRules, setDe
}
onButtonClick={addMoreAttribute}
/>
@@ -611,8 +611,17 @@ const AddDeliveryRule = ({ targetedData, deliveryRules, setDeliveryRules, index,
{deliveryRules.length !== 1 && (
onDelete()}
- style={{ fontWeight: "600", fontSize: "1rem", color: PRIMARY_COLOR, display: "flex", gap: "0.5rem", alignItems: "center" }}
+ style={{
+ fontWeight: "600",
+ fontSize: "1rem",
+ color: PRIMARY_COLOR,
+ display: "flex",
+ gap: "0.5rem",
+ alignItems: "center",
+ cursor: "pointer",
+ }}
>
{t(`CAMPAIGN_DELETE_CONDITION_LABEL`)}
@@ -644,7 +653,7 @@ const AddDeliveryRule = ({ targetedData, deliveryRules, setDeliveryRules, index,