Skip to content

Commit 0756b8c

Browse files
authored
Merge pull request #505 from topcoder-platform/TCA-987_correct-badges-for-courses
TCA-987 - show correct badge icon for the certif's courses -> dev
2 parents c09202d + 4bfd884 commit 0756b8c

File tree

1 file changed

+1
-1
lines changed
  • src-ts/tools/learn/certification-details/certification-curriculum/curriculum-cards/course-card

1 file changed

+1
-1
lines changed

src-ts/tools/learn/certification-details/certification-curriculum/curriculum-cards/course-card/CourseCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const CourseCard: FC<CourseCardProps> = (props: CourseCardProps) => {
8585

8686
return (
8787
<CurriculumCard
88-
badgeTrackType={props.certification.trackType ?? 'DEV'}
88+
badgeTrackType={props.certification.certificationCategory.track ?? 'DEV'}
8989
title={props.certification.title ?? 'Responsive Web Design Certification'}
9090
cta={renderCta()}
9191
status={props.isEnrolled ? props.progress?.status : undefined}

0 commit comments

Comments
 (0)