Fix OG image, CBT filters, syllabus split, and trial duration

This commit is contained in:
2026-09-22 17:39:18 +05:30
parent e6f1fc9c1f
commit 6e8df1841e
5 changed files with 119 additions and 66 deletions

View File

@@ -68,7 +68,9 @@ export default function CBTPage() {
if (testRes.ok) {
let testsData = await testRes.json();
if (selectedPattern === "JEE") {
testsData = testsData.filter((t: any) => t.exam_pattern === "JEE_Main" || t.exam_pattern === "JEE_Advanced");
testsData = testsData.filter((t: any) => t.exam_pattern?.includes("JEE"));
} else if (selectedPattern === "NEET") {
testsData = testsData.filter((t: any) => t.exam_pattern === "NEET");
}
setExams(testsData);
}