Skip to content

Commit

Permalink
Repair courserun with no upgrade deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-at-mit committed Aug 26, 2024
1 parent ade4025 commit 093f901
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/public/src/components/EnrolledItemCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,12 +438,13 @@ export class EnrolledItemCard extends React.Component<
<strong>Upgrade today</strong> and, upon passing, receive your
certificate signed by MIT faculty to highlight the knowledge and
skills you've gained from this MITx course.{" "}
<b>
{enrollment.run.upgrade_deadline ?
(<b>
Upgrade expires:{" "}
{formatPrettyDateTimeAmPmTz(
parseDateString(enrollment.run.upgrade_deadline)
)}
</b>
</b>) : null}
</div>
</div>
) : null
Expand Down

0 comments on commit 093f901

Please sign in to comment.