From 7bef14c32996fa38d848b3087664dced548d7f34 Mon Sep 17 00:00:00 2001 From: stvn Date: Fri, 15 May 2020 12:05:42 -0700 Subject: [PATCH] Add courseId to InstructorToolbar props --- src/courseware/course/Course.jsx | 1 + src/courseware/course/InstructorToolbar.jsx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/courseware/course/Course.jsx b/src/courseware/course/Course.jsx index d294a046..a02bba89 100644 --- a/src/courseware/course/Course.jsx +++ b/src/courseware/course/Course.jsx @@ -72,6 +72,7 @@ function Course({ /> {isStaff && ( )} diff --git a/src/courseware/course/InstructorToolbar.jsx b/src/courseware/course/InstructorToolbar.jsx index c73462fb..5b160714 100644 --- a/src/courseware/course/InstructorToolbar.jsx +++ b/src/courseware/course/InstructorToolbar.jsx @@ -39,11 +39,13 @@ function InstructorToolbar(props) { InstructorToolbar.propTypes = { activeUnitLmsWebUrl: PropTypes.string, + courseId: PropTypes.string, unitId: PropTypes.string, }; InstructorToolbar.defaultProps = { activeUnitLmsWebUrl: undefined, + courseId: undefined, unitId: undefined, };