[O] Use encapsulated graded() method
This commit is contained in:
+1
-1
@@ -196,7 +196,7 @@ export default class Course
|
|||||||
{
|
{
|
||||||
return this.gradingPeriods
|
return this.gradingPeriods
|
||||||
.flatMap(term => this.termAssignments[term])
|
.flatMap(term => this.termAssignments[term])
|
||||||
.filter(a => a.complete == 'Complete');
|
.filter(a => a.graded);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user