diff --git a/src/core/course/providers/helper.ts b/src/core/course/providers/helper.ts index 87eb371d9..b9797a732 100644 --- a/src/core/course/providers/helper.ts +++ b/src/core/course/providers/helper.ts @@ -153,7 +153,7 @@ export class CoreCourseHelperProvider { } // Check if the module is stealth. - module.isStealth = !module.visibleoncoursepage || (module.visible && !section.visible); + module.isStealth = module.visibleoncoursepage === 0 || (module.visible && !section.visible); }); });