feat: show student course and assessment progress on batch page

This commit is contained in:
Jannat Patel
2024-12-13 10:44:56 +05:30
parent 0beffc3083
commit fdacab66f7
4 changed files with 104 additions and 55 deletions

View File

@@ -110,6 +110,7 @@ const openCourseModal = () => {
}
const getCoursesColumns = () => {
console.log(courses.data)
return [
{
label: 'Title',
@@ -118,13 +119,13 @@ const getCoursesColumns = () => {
},
{
label: 'Lessons',
key: 'lesson_count',
key: 'lessons',
align: 'right',
},
{
label: 'Enrollments',
align: 'right',
key: 'enrollment_count',
key: 'enrollments',
},
]
}