From d21ffd09a5ec2f65a6d6412ec6a464c1a6971cfa Mon Sep 17 00:00:00 2001 From: harshitha-kp07 Date: Thu, 16 Jul 2026 15:20:38 +0530 Subject: [PATCH] Disable Next while submitting on step 4 Update CampaignSetupActions disableNext logic to handle activeStep === 4. Previously other steps defaulted to false, which allowed advancing during submission on step 4. Now disableNext uses isSubmitting for step 4 to prevent duplicate submits. (File: src/ops-console/components/campaignSetup/CampaignSetupActions.tsx) --- .../components/campaignSetup/CampaignSetupActions.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ops-console/components/campaignSetup/CampaignSetupActions.tsx b/src/ops-console/components/campaignSetup/CampaignSetupActions.tsx index 7b47c57c96..fbd15fd72c 100644 --- a/src/ops-console/components/campaignSetup/CampaignSetupActions.tsx +++ b/src/ops-console/components/campaignSetup/CampaignSetupActions.tsx @@ -34,7 +34,9 @@ export const CampaignSetupActions: React.FC = ({ ? !isFormValid || isSubmitting : activeStep === 1 ? !isAssignmentComplete - : false; + : activeStep === 4 + ? isSubmitting + : false; const handleNextClick = () => { if (activeStep === 0) {