Skip to content

Commit

Permalink
fix: Feedback changes
Browse files Browse the repository at this point in the history
  • Loading branch information
saleem-latif committed Feb 26, 2025
1 parent ffcf685 commit 0fa78d6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Admin/tabs/ModuleActivityReport.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ const ModuleActivityReport = ({ enterpriseId }) => {
defaultMessage: '% Activities Complete',
description: 'Header for the percentage of activities completed column in the module activity report table',
}),
accessor: 'percentage_completed_activities',
Cell: ({ row }) => (
`${row.original.percentage_completed_activities} %`
),
},
{
Header: intl.formatMessage({
Expand Down Expand Up @@ -169,7 +171,9 @@ const ModuleActivityReport = ({ enterpriseId }) => {
defaultMessage: 'Learning Outcomes % Difference',
description: 'Header for the learning outcomes percentage difference for learning outcome before and after the course column in the module activity report table',
}),
accessor: 'avg_lo_percentage_difference',
Cell: ({ row }) => (
_.isNumber(row.original.avg_lo_percentage_difference) ? `${row.original.avg_lo_percentage_difference} %` : row.original.avg_lo_percentage_difference
),
},
]}
tableActions={[
Expand Down

0 comments on commit 0fa78d6

Please sign in to comment.