MOBILE-2567 course: Fix hiddenoncoursepage shown when it shouldn't
parent
eae69814fd
commit
f93ea360b1
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue