[+] Add assignments.length > 0 as a condition
This commit is contained in:
@@ -19,7 +19,7 @@ export default class OverallLine extends Vue
|
|||||||
*/
|
*/
|
||||||
created()
|
created()
|
||||||
{
|
{
|
||||||
this.filteredCourses = this.courses.filter(c => c.isGraded);
|
this.filteredCourses = this.courses.filter(c => c.isGraded && c.assignments.length > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user