Revert "fix: hiding certificate banner for exec ed"

This reverts commit d90339f5f5.

For the record, Axim Engineering no longer accepts organization-specific
code to land in master.
This commit is contained in:
Adolfo R. Brandes
2024-04-26 13:24:20 -03:00
committed by Adolfo R. Brandes
parent 24a97445a3
commit a5730daa14

View File

@@ -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);
@@ -53,7 +52,7 @@ export const CertificateBanner = ({ cardId }) => {
</Banner>
);
}
if (!isPassing && !isExecEd2UCourse) {
if (!isPassing) {
if (isAudit) {
return (
<Banner>