diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx index 8306c5a39a88d..bfa63e21e6c94 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx @@ -84,8 +84,8 @@ export const CreateStepFooter: FC = ({ jobId, jobType, showProgress }) => clearInterval(interval); // Check job has started. Jobs that fail to start will also have STOPPED state setJobFinished( - jobStats.state === DATA_FRAME_TASK_STATE.STOPPED && - progressStats.currentPhase === progressStats.totalPhases + progressStats.currentPhase === progressStats.totalPhases && + progressStats.progress === 100 ); } } else {