[F] Fix another null case

This commit is contained in:
Hykilpikonna
2019-10-01 18:41:14 -04:00
parent 59b31ea43f
commit d9e0e9f84e
+1 -1
View File
@@ -195,7 +195,7 @@ export default class App extends Vue
// Check if total-average grade is the same with percent-type grade
if (course.numericGrade == GPAUtils.getTotalMeanAverage(course))
{
course.grading.method = 'TOTAL_AVERAGE';
course.grading = {method: 'TOTAL_AVERAGE', weightingMap: {}};
}
else
{