diff --git a/src/core/features/course/components/module-navigation/module-navigation.ts b/src/core/features/course/components/module-navigation/module-navigation.ts index 40a36ad23..4e436af4b 100644 --- a/src/core/features/course/components/module-navigation/module-navigation.ts +++ b/src/core/features/course/components/module-navigation/module-navigation.ts @@ -177,7 +177,7 @@ export class CoreCourseModuleNavigationComponent implements OnInit, OnDestroy { * @return Wether the module is available to the user or not. */ protected async isModuleAvailable(module: CoreCourseModuleData): Promise { - return CoreCourse.instance.moduleHasView(module); + return !CoreCourseHelper.isModuleStealth(module) && CoreCourse.instance.moduleHasView(module); } /**