diff --git a/app/components/grades/grades-chart.tsx b/app/components/grades/grades-chart.tsx index 4d708b3..e207868 100644 --- a/app/components/grades/grades-chart.tsx +++ b/app/components/grades/grades-chart.tsx @@ -5,6 +5,8 @@ import type { Grade, User } from "~/lib/api"; import { useEffect, useState } from "react"; import { DateTime } from "luxon"; +export const HARDCODED_HIDDEN_SUBJECTS = ["Colles préfet"] + export default function GradesChart({ grades, subjects, @@ -51,7 +53,7 @@ export default function GradesChart({ } }} /> - {subjects.map((subject, index) => ( + {subjects.filter((s) => !HARDCODED_HIDDEN_SUBJECTS.includes(s)).map((subject, index) => (