[F] NREQ shouldn't be graded

This commit is contained in:
Hykilpikonna
2020-03-07 16:08:19 -05:00
parent 1fc2a2adda
commit 1fb0102328
+3 -1
View File
@@ -63,7 +63,9 @@ export class Assignment
get graded()
{
// TODO: Add more cases
return this.include && (this.complete == 'Complete' || this.complete == 'Late' || this.complete == 'NREQ');
// Incomplete doesn't mean that the teacher didn't grade it yet, which is "Pending".
// NREQ is not graded.
return this.include && (this.complete == 'Complete' || this.complete == 'Late' || this.complete == 'Incomplete');
}
/**