[F] Fix typo: should be 'TOTAL_MEAN' instead of 'TOTAL_AVERAGE'

This commit is contained in:
Hykilpikonna
2019-10-05 14:31:08 -04:00
parent c4b8542b5b
commit 7f094cbafb
+2 -2
View File
@@ -188,7 +188,7 @@ export default class App extends Vue
} }
/** /**
* Check the courses' grading algorithms. (Total-average or percent-type) * Check the courses' grading algorithms. (Total-mean or percent-type)
*/ */
private checkGradingAlgorithms() private checkGradingAlgorithms()
{ {
@@ -198,7 +198,7 @@ export default class App extends Vue
// Check if total-average grade is the same with percent-type grade // Check if total-average grade is the same with percent-type grade
if (course.numericGrade == GPAUtils.getTotalMeanAverage(course)) if (course.numericGrade == GPAUtils.getTotalMeanAverage(course))
{ {
course.grading = {method: 'TOTAL_AVERAGE', weightingMap: {}}; course.grading = {method: 'TOTAL_MEAN', weightingMap: {}};
} }
else else
{ {