Skip to content

Commit f0245d7

Browse files
committed
change how often sub-text is shown
1 parent 54b5bea commit f0245d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/components/course-page/header/main-section.hbs

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
</div>
2626
</div>
2727

28-
{{! TODO: This uses if (not ...) instead of unless because ESLint seems to replace this before linting? }}
29-
{{! We already have this shown in the test runner card }}
30-
{{#if (not (and (eq @currentStep.type "CourseStageStep") (eq @currentStep @activeStep)))}}
28+
{{! For complete steps, we have the "You've completed this step" banner" }}
29+
{{! For in-progress steps, users shouldn't be focused on this area anyway }}
30+
{{#if (not (or (eq @currentStep.status "complete") (eq @currentStep.status "in_progress")))}}
3131
<CoursePage::StepProgressIndicator @step={{@currentStep}} class="mt-2 ml-0.5" />
3232
{{/if}}
3333
</div>

0 commit comments

Comments
 (0)