Skip to content

Commit

Permalink
Merge branch 'icssc:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
pinapelz authored May 28, 2024
2 parents 0d50d4f + 74112a9 commit 2c68856
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,7 @@ async function getGpaData(deptCode: string, courseNumber: string, instructors: s

// Get the GPA of the first instructor of this section where data exists
for (const instructor of namedInstructors) {
const grades = await Grades.queryGrades(
deptCode,
courseNumber,
instructor,
useTabStore.getState().activeTab != 1
);
const grades = await Grades.queryGrades(deptCode, courseNumber, instructor, false);
if (grades?.averageGPA) {
return {
gpa: grades.averageGPA.toFixed(2).toString(),
Expand Down

0 comments on commit 2c68856

Please sign in to comment.