diff --git a/src/pages/content-management/UnitManagementPage.tsx b/src/pages/content-management/UnitManagementPage.tsx index 10c59c1..41717aa 100644 --- a/src/pages/content-management/UnitManagementPage.tsx +++ b/src/pages/content-management/UnitManagementPage.tsx @@ -72,7 +72,7 @@ export function UnitManagementPage() { thumbnail: string; icon: string; sortOrder: number; - videos: number; + lessons: number; practices: number; gradient: string; }> @@ -134,7 +134,7 @@ export function UnitManagementPage() { thumbnail: row.thumbnail?.trim() || "", icon: row.icon?.trim() || "", sortOrder: Number(row.sort_order ?? 0), - videos: Number(row.lessons_count ?? row.videos_count ?? 0), + lessons: Number(row.lessons_count ?? row.videos_count ?? 0), practices: Number(row.practices_count ?? 0), gradient: index % 3 === 1 @@ -679,7 +679,7 @@ export function UnitManagementPage() { No modules for this unit yet

- Create your first module to start organizing videos and practices. + Create your first module to start organizing lessons and practices.

) : ( @@ -759,7 +759,7 @@ export function UnitManagementPage() {
- {module.videos} Videos + {module.lessons} Lessons