diff --git a/frontend/src/components/AdminBatchDashboard.vue b/frontend/src/components/AdminBatchDashboard.vue index 934ab995..135fe84c 100644 --- a/frontend/src/components/AdminBatchDashboard.vue +++ b/frontend/src/components/AdminBatchDashboard.vue @@ -8,7 +8,7 @@
@@ -37,7 +37,7 @@ v-if="showProgressChart" class="border" :config="{ - data: chartData || [], + data: filteredChartData, title: __('Batch Summary'), subtitle: __('Progress of students in courses and assessments'), xAxis: { @@ -64,96 +64,55 @@ diff --git a/frontend/src/components/BatchStudents.vue b/frontend/src/components/BatchStudents.vue index d6e336a8..1eb56e17 100644 --- a/frontend/src/components/BatchStudents.vue +++ b/frontend/src/components/BatchStudents.vue @@ -2,7 +2,7 @@
- {{ students.data?.length }} {{ __('Students') }} + {{ studentCount.data ?? 0 }} {{ __('Students') }}