Corrigido erro no mapeamento de modules no Modal de Detalhes das Aulas do Aluno
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 1m0s
Details
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 1m0s
Details
This commit is contained in:
parent
f449cf087e
commit
036bb98eb7
|
|
@ -1561,7 +1561,7 @@ export default function AdminDashboard({ token, adminUser, onLogout }: AdminDash
|
|||
const isUnlocked = !course.isLocked || selectedStudentDetails.unlockedCourses?.includes(course.id);
|
||||
if (!isUnlocked) return null;
|
||||
|
||||
const courseLessons = course.modules?.flatMap(m => m.lessons) || [];
|
||||
const courseLessons = course.lessons || [];
|
||||
const studentReactions = selectedStudentDetails.lessonReactions || [];
|
||||
const studentProgress = selectedStudentDetails.progress || [];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue