fix(cbt): comprehensive overhaul of CBT & DPP test pipelines, JSON schemas, active states, and exam pattern filters

This commit is contained in:
2026-09-25 18:12:06 +05:30
parent ed1084bd8d
commit 8a5ea57feb
4 changed files with 222 additions and 66 deletions

View File

@@ -72,7 +72,7 @@ export default function CBTPage() {
if (selectedPattern === "JEE") {
testsData = testsData.filter((t: any) => t.exam_pattern?.includes("JEE"));
} else if (selectedPattern === "NEET") {
testsData = testsData.filter((t: any) => t.exam_pattern === "NEET");
testsData = testsData.filter((t: any) => t.exam_pattern === "NEET" || t.exam_pattern === "JEE_NEET");
}
setExams(testsData);
}