diff --git a/src/profile/forms/Badges.jsx b/src/profile/forms/Badges.jsx index e0f5b9dfb..e263ad8c4 100644 --- a/src/profile/forms/Badges.jsx +++ b/src/profile/forms/Badges.jsx @@ -45,7 +45,7 @@ class Badges extends React.Component { this.props.openHandler(this.props.formId); } - renderBadge({ badge_class, created, assertion_url }) { + renderBadge({ badge_class, created, assertion_url, image_url }) { const { intl } = this.props; return ( @@ -69,24 +69,6 @@ class Badges extends React.Component {
> )} - {badge_class && badge_class.course_id && ( - <> -
-
- {badge_class.course_id.substring( - badge_class.course_id.indexOf(":") + 1, - badge_class.course_id.indexOf("+") - )} -
- > - )}