Merge pull request #23048 from edx/dcs/mfe-switcher

Add button to switch to courseware MFE
This commit is contained in:
Dave St.Germain
2020-02-21 11:31:54 -05:00
committed by GitHub
2 changed files with 17 additions and 1 deletions

View File

@@ -482,7 +482,7 @@ class CoursewareIndex(View):
table_of_contents['previous_of_active_section'],
table_of_contents['next_of_active_section'],
)
courseware_context['unit'] = section_context.get('activate_block_id', '')
courseware_context['fragment'] = self.section.render(self.view, section_context)
if self.section.position and self.section.has_children: