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:
committed by
Adolfo R. Brandes
parent
24a97445a3
commit
a5730daa14
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user