[+] Skip if not graded

This commit is contained in:
Hykilpikonna
2019-09-30 21:05:39 -04:00
parent 6e58c634a1
commit fc93cd1248
+3
View File
@@ -24,6 +24,9 @@ export class CourseUtils
// Skip courses without assignments
if (course.assignments.length == 0) return;
// Skip if there are no grading scale
if (course.grading.method == 'NOT_GRADED') return;
// Add it to the list
result.push(course);