From 4b718b3cf6061c5f991438e66c6e41b63fecd26f Mon Sep 17 00:00:00 2001 From: Riku Rauhala Date: Mon, 30 Sep 2024 14:37:56 +0300 Subject: [PATCH] [Course statistics] Update enrollments column title and helper text --- .../ResultTabs/panes/tables/AttemptsTable.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/frontend/src/components/CourseStatistics/ResultTabs/panes/tables/AttemptsTable.jsx b/services/frontend/src/components/CourseStatistics/ResultTabs/panes/tables/AttemptsTable.jsx index 8ecce7503a..8cfcbf5eef 100644 --- a/services/frontend/src/components/CourseStatistics/ResultTabs/panes/tables/AttemptsTable.jsx +++ b/services/frontend/src/components/CourseStatistics/ResultTabs/panes/tables/AttemptsTable.jsx @@ -143,9 +143,9 @@ export const AttemptsTable = ({ getRowContent: s => (s.rowObfuscated ? 'NA' : `${Number(s.passRate || 0).toFixed(2)} %`), }), getSortableColumn({ - key: 'TOTAL_ENROLLMENTS', - title: 'Total\nenrollments', - helpText: 'All enrollments, including all rejected and aborted states', + key: 'ENROLLMENTS', + title: 'Enrollments', + helpText: 'All enrollments with enrolled state', getRowVal: s => (s.rowObfuscated ? 'NA' : s.totalEnrollments), }), ]