Skip to content

Commit 5be68de

Browse files
author
Suhas-13
committed
fixed cumulative calculation
Signed-off-by: Suhas-13 <[email protected]>
1 parent 14ffbe2 commit 5be68de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/components/CumulativeGPA.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export default {
178178
current_term_grades.push(courses);
179179
}
180180
courses = [];
181-
} else {
181+
} else if (element_list[t].innerText.trim() === ("S1")) {
182182
most_recent_term = "S1";
183183
}
184184
if (element_list[t].getElementsByTagName("th").length > 0) {

0 commit comments

Comments
 (0)