diff --git a/src/studio-home/home-sidebar/index.jsx b/src/studio-home/home-sidebar/index.jsx index 671f78d25..6a3d43b24 100644 --- a/src/studio-home/home-sidebar/index.jsx +++ b/src/studio-home/home-sidebar/index.jsx @@ -22,8 +22,10 @@ const HomeSidebar = () => { const { home: aboutHomeLink } = useHelpUrls(['home']); // eslint-disable-next-line max-len - const isShowMailToGetInstruction = courseCreatorStatus === COURSE_CREATOR_STATES.disallowedForThisSite - && !!studioRequestEmail; + const isShowMailToGetInstruction = ![ + COURSE_CREATOR_STATES.disallowedForThisSite, + COURSE_CREATOR_STATES.granted, + ].includes(courseCreatorStatus) && !!studioRequestEmail; const isShowUnrequestedInstruction = courseCreatorStatus === COURSE_CREATOR_STATES.unrequested; const isShowDeniedInstruction = courseCreatorStatus === COURSE_CREATOR_STATES.denied; diff --git a/src/studio-home/hooks.jsx b/src/studio-home/hooks.jsx index d1673aae9..1900dc1ca 100644 --- a/src/studio-home/hooks.jsx +++ b/src/studio-home/hooks.jsx @@ -69,7 +69,10 @@ const useStudioHome = () => { } = studioHomeData; const isShowOrganizationDropdown = optimizationEnabled && courseCreatorStatus === COURSE_CREATOR_STATES.granted; - const isShowEmailStaff = courseCreatorStatus === COURSE_CREATOR_STATES.disallowedForThisSite && !!studioRequestEmail; + const isShowEmailStaff = ![ + COURSE_CREATOR_STATES.disallowedForThisSite, + COURSE_CREATOR_STATES.granted, + ].includes(courseCreatorStatus) && !!studioRequestEmail; const isShowProcessing = allowCourseReruns && rerunCreatorStatus && inProcessCourseActions?.length > 0; const hasAbilityToCreateNewCourse = courseCreatorStatus === COURSE_CREATOR_STATES.granted; const anyQueryIsPending = [deleteNotificationSavingStatus, courseCreatorSavingStatus, savingCreateRerunStatus]