From a5730daa14b515b558b9e2fd3db582fa8c1da47a Mon Sep 17 00:00:00 2001 From: "Adolfo R. Brandes" Date: Fri, 26 Apr 2024 13:24:20 -0300 Subject: [PATCH] Revert "fix: hiding certificate banner for exec ed" This reverts commit d90339f5f54d61c25f8c186b93378fb2dde52e44. For the record, Axim Engineering no longer accepts organization-specific code to land in master. --- .../components/CourseCardBanners/CertificateBanner.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/containers/CourseCard/components/CourseCardBanners/CertificateBanner.jsx b/src/containers/CourseCard/components/CourseCardBanners/CertificateBanner.jsx index 6e396254..556628d5 100644 --- a/src/containers/CourseCard/components/CourseCardBanners/CertificateBanner.jsx +++ b/src/containers/CourseCard/components/CourseCardBanners/CertificateBanner.jsx @@ -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 }) => { ); } - if (!isPassing && !isExecEd2UCourse) { + if (!isPassing) { if (isAudit) { return (