Skip to content

Commit

Permalink
[MBL-17011][Student] Documents embedded in RCE content don't load
Browse files Browse the repository at this point in the history
refs: MBL-17011
affects: Student
release note: none
  • Loading branch information
kristofnemere authored Sep 1, 2023
1 parent d4c8bff commit 016b944
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ class CourseModuleProgressionFragment : ParentFragment(), Bookmarkable {
val moduleItemAsset = ModuleItemAsset.fromAssetType(assetType)
if (moduleItemAsset != ModuleItemAsset.MODULE_ITEM) {
val newRoute = route.copy(secondaryClass = moduleItemAsset.routeClass, removePreviousScreen = true)
RouteMatcher.route(requireContext(), newRoute)
RouteMatcher.route(requireActivity(), newRoute)
return@tryWeave
}
}
Expand Down

0 comments on commit 016b944

Please sign in to comment.