UI fixes: Admin UI padding, AI Tutor Chat History, DPP filtering and Premium Gates

This commit is contained in:
2026-09-25 16:01:38 +05:30
parent 8887145260
commit 173ce4ca04
5 changed files with 161 additions and 45 deletions

View File

@@ -63,7 +63,7 @@ export default function CBTPage() {
setLoading(true);
try {
let url = `/api/tests?user_id=${userId}&type=Mock`;
if (selectedPattern !== "JEE" && selectedPattern !== "JEE_NEET") {
if (selectedPattern) {
url += `&exam_pattern=${selectedPattern}`;
}
const testRes = await fetchWithAuth(url);
@@ -363,3 +363,4 @@ export default function CBTPage() {
</>
);
}