Skip to content

Commit

Permalink
💄 only show the grade average for users that have grades
Browse files Browse the repository at this point in the history
  • Loading branch information
M4GNV5 committed Nov 6, 2021
1 parent 5980046 commit e9873d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rogue-thi-app/pages/grades.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default function Grades () {

<AppBody>
<ReactPlaceholder type="text" rows={3} ready={!!gradeAverage}>
{gradeAverage && (
{gradeAverage && gradeAverage.entries.length > 0 && (
<ListGroup>
<h4 className={styles.heading}>
Notenschnitt
Expand Down

0 comments on commit e9873d9

Please sign in to comment.