diff --git a/src/course-home/data/pact-tests/lmsPact.test.jsx b/src/course-home/data/pact-tests/lmsPact.test.jsx index 523e84f9b3..5c163564b5 100644 --- a/src/course-home/data/pact-tests/lmsPact.test.jsx +++ b/src/course-home/data/pact-tests/lmsPact.test.jsx @@ -89,6 +89,7 @@ describe('Course Home Service', () => { }), title: string('Demonstration Course'), username: string('edx'), + has_course_author_access: boolean(true), }, }, }); @@ -133,6 +134,7 @@ describe('Course Home Service', () => { ], title: 'Demonstration Course', username: 'edx', + hasCourseAuthorAccess: true, }; const response = getCourseHomeCourseMetadata(courseId, 'outline'); expect(response).toBeTruthy(); diff --git a/src/instructor-toolbar/InstructorToolbar.jsx b/src/instructor-toolbar/InstructorToolbar.jsx index 71d968c869..1646a5dc89 100644 --- a/src/instructor-toolbar/InstructorToolbar.jsx +++ b/src/instructor-toolbar/InstructorToolbar.jsx @@ -55,6 +55,7 @@ const InstructorToolbar = (props) => { const { courseId, unitId, + studioButtonVisible, tab, } = props; @@ -72,13 +73,13 @@ const InstructorToolbar = (props) => {