Revert "AA-133 mfe dates banner (#79)" (#84)

This reverts commit 973f3d68aa.
This commit is contained in:
Nick
2020-06-16 10:14:30 -04:00
committed by GitHub
parent 973f3d68aa
commit 8df4654cf1
10 changed files with 12 additions and 234 deletions

View File

@@ -8,7 +8,7 @@ import { postCourseEnrollment } from './data/api';
export function useEnrollmentAlert(courseId) {
const course = useModel('courseHomeMetadata', courseId);
const course = useModel('courses', courseId);
const code = course.isStaff ? 'clientStaffEnrollmentAlert' : 'clientEnrollmentAlert';
const isVisible = course && course.isEnrolled !== undefined && !course.isEnrolled;