Skip to content

Commit

Permalink
Use enum to identify the step
Browse files Browse the repository at this point in the history
Signed-off-by: ibolton336 <ibolton@redhat.com>
  • Loading branch information
ibolton336 committed Aug 8, 2023
1 parent 55b59ad commit f1a062c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export const AnalysisWizard: React.FC<IAnalysisWizard> = ({
{ prevId, prevName }
) => {
if (id && stepIdReached < (id as number)) setStepIdReached(id as number);
if (id === 2) {
if (id === StepId.SetTargets) {
if (!currentTaskgroup) {
createTaskgroup(defaultTaskgroup);

Check warning on line 304 in client/src/app/pages/applications/analysis-wizard/analysis-wizard.tsx

View check run for this annotation

Codecov / codecov/patch

client/src/app/pages/applications/analysis-wizard/analysis-wizard.tsx#L304

Added line #L304 was not covered by tests
}
Expand Down

0 comments on commit f1a062c

Please sign in to comment.