Skip to content

Commit

Permalink
fix: Updated courseKey with courseTitle for charts (#1304)
Browse files Browse the repository at this point in the history
  • Loading branch information
irfanuddinahmad authored Sep 25, 2024
1 parent d78920c commit e7aaa47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/AdvanceAnalyticsV2/tabs/Completions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const Completions = ({
chartType="BarChart"
chartProps={{
data: data?.topCoursesByCompletions,
xKey: 'courseKey',
xKey: 'courseTitle',
yKey: 'completionCount',
colorKey: 'enrollType',
colorMap: chartColorMap,
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdvanceAnalyticsV2/tabs/Enrollments.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const Enrollments = ({
chartType="BarChart"
chartProps={{
data: data?.topCoursesByEnrollments,
xKey: 'courseKey',
xKey: 'courseTitle',
yKey: 'enrollmentCount',
colorKey: 'enrollType',
colorMap: chartColorMap,
Expand Down

0 comments on commit e7aaa47

Please sign in to comment.