diff --git a/src/components/compare/CompareTable/compareTable.tsx b/src/components/compare/CompareTable/compareTable.tsx index 9bf85eee..ce954b68 100644 --- a/src/components/compare/CompareTable/compareTable.tsx +++ b/src/components/compare/CompareTable/compareTable.tsx @@ -141,7 +141,7 @@ function GradeOrRmpRow({ {loadingFiller} )) || - (value.state === 'done' && + ((value.state === 'done' && getValue(value.data) !== -1) ? (name !== 'GPA' ? (value.data as RMPInterface).numRatings > 0 : true) && ( // do not display RMP data (non-GPA data) if there are no reviews @@ -165,7 +165,7 @@ function GradeOrRmpRow({ {formatValue(getValue(value.data))} - )) || + ) : 0.00) || null} ))}