Skip to content

Commit 1a186f7

Browse files
committed
refactor:While migration process is in progress then disables all steps:[CMG-392]
1 parent 8d83d21 commit 1a186f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/Stepper/HorizontalStepper/HorizontalStepper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ const HorizontalStepper = forwardRef(
193193
const disableStep = newMigrationData?.isprojectMapped && stepsCompleted.includes(idx) && idx !== showStep ? 'disableEvents'
194194
: '';
195195

196-
const completeDisable = stepsCompleted?.includes(idx) && newMigrationData?.test_migration?.isMigrationStarted ? 'disableEvents' : '';
196+
const completeDisable = stepsCompleted?.includes(idx) && (newMigrationData?.test_migration?.isMigrationStarted || newMigrationData?.migration_execution?.migrationStarted) ? 'disableEvents' : '';
197197

198198
const disableMapper = stepsCompleted?.includes(idx) && idx === 2 && newMigrationData?.test_migration?.isMigrationStarted && !newMigrationData?.test_migration?.isMigrationComplete ? 'disableEvents' : '';
199199

0 commit comments

Comments
 (0)