diff --git a/src/Analysis/GWASV2/GWASContainer.jsx b/src/Analysis/GWASV2/GWASContainer.jsx index e8f52f4c31..04b205d9ec 100644 --- a/src/Analysis/GWASV2/GWASContainer.jsx +++ b/src/Analysis/GWASV2/GWASContainer.jsx @@ -76,10 +76,10 @@ const GWASContainer = () => { }; let nextButtonEnabled = true; - if (state.currentStep === 0 && !state.selectedStudyPopulationCohort) { - nextButtonEnabled = false; - } - if (state.currentStep === 1 && !state.outcome) { + // step specific conditions where progress to next step needs to be blocked: + if ((state.currentStep === 0 && !state.selectedStudyPopulationCohort) + || (state.currentStep === 1 && !state.outcome) + || (state.currentStep === 3 && !state.selectedHare.concept_value)) { nextButtonEnabled = false; }