diff --git a/src/courseware/course/sidebar/sidebars/outline/OutlineSidebar.jsx b/src/courseware/course/sidebar/sidebars/outline/OutlineSidebar.jsx index dbf7d3cea8..ee0660c514 100644 --- a/src/courseware/course/sidebar/sidebars/outline/OutlineSidebar.jsx +++ b/src/courseware/course/sidebar/sidebars/outline/OutlineSidebar.jsx @@ -9,12 +9,14 @@ import messages from './messages'; ensureConfig(['SIDEBAR_MFE_BASE_URL']); -function OutlineSidebar({ intl }) { +function OutlineSidebar({ + intl, +}) { const { courseId, + unitId, } = useContext(SidebarContext); - - const outlineUrl = `${getConfig().SIDEBAR_MFE_BASE_URL}/${courseId}`; + const outlineUrl = `${getConfig().SIDEBAR_MFE_BASE_URL}/${courseId}/${unitId}`; return (