File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/addon/mod/workshop/providers Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export class AddonModWorkshopHelperProvider {
6868 const task = this . getTask ( tasks , taskCode ) ;
6969
7070 if ( task ) {
71- return task . completed ;
71+ return ! ! task . completed ;
7272 }
7373
7474 // Task not found, assume true.
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ export class AddonModWorkshopProvider {
3333 static PHASE_ASSESSMENT = 30 ;
3434 static PHASE_EVALUATION = 40 ;
3535 static PHASE_CLOSED = 50 ;
36- static EXAMPLES_VOLUNTARY : 0 ;
37- static EXAMPLES_BEFORE_SUBMISSION : 1 ;
38- static EXAMPLES_BEFORE_ASSESSMENT : 2 ;
36+ static EXAMPLES_VOLUNTARY = 0 ;
37+ static EXAMPLES_BEFORE_SUBMISSION = 1 ;
38+ static EXAMPLES_BEFORE_ASSESSMENT = 2 ;
3939 static SUBMISSION_TYPE_DISABLED = 0 ;
4040 static SUBMISSION_TYPE_AVAILABLE = 1 ;
4141 static SUBMISSION_TYPE_REQUIRED = 2 ;
You can’t perform that action at this time.
0 commit comments