File tree Expand file tree Collapse file tree
app/utils/course-page-step-list Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,6 +60,10 @@ This failure is expected!
6060Check the [How to pass this stage](#first-stage-tutorial-heading) section for instructions.` . trim ( ) ;
6161 }
6262
63+ get hasOnlyOneSubmission ( ) : boolean {
64+ return this . repository . submissionsCount === 1 ;
65+ }
66+
6367 get lastFailedSubmission ( ) {
6468 if ( this . repository . lastSubmissionHasFailureStatus ) {
6569 return this . repository . lastSubmission ;
@@ -94,7 +98,7 @@ Check the [How to pass this stage](#first-stage-tutorial-heading) section for in
9498 text : this . completionNoticeMessage ! ,
9599 } ;
96100 } else if ( this . testsStatus === 'failed' ) {
97- if ( this . lastSubmissionIsSystemInitiated ) {
101+ if ( this . lastSubmissionIsSystemInitiated || this . hasOnlyOneSubmission ) {
98102 return {
99103 dotColor : 'gray' ,
100104 dotType : 'static' ,
You can’t perform that action at this time.
0 commit comments