Skip to content

Commit

Permalink
update job finished check
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Sep 24, 2020
1 parent 2b665a0 commit 7e290ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export const CreateStepFooter: FC<Props> = ({ 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 {
Expand Down

0 comments on commit 7e290ee

Please sign in to comment.