Skip to content

Commit

Permalink
Revert "fix: hiding certificate banner for exec ed" (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
arbrandes authored Apr 30, 2024
2 parents 0773059 + cf38f34 commit d3779ad
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export const CertificateBanner = ({ cardId }) => {
const {
isAudit,
isVerified,
isExecEd2UCourse,
} = reduxHooks.useCardEnrollmentData(cardId);
const { isPassing } = reduxHooks.useCardGradeData(cardId);
const { isArchived } = reduxHooks.useCardCourseRunData(cardId);
Expand Down Expand Up @@ -53,7 +52,7 @@ export const CertificateBanner = ({ cardId }) => {
</Banner>
);
}
if (!isPassing && !isExecEd2UCourse) {
if (!isPassing) {
if (isAudit) {
return (
<Banner>
Expand Down

0 comments on commit d3779ad

Please sign in to comment.