MOBILE-4081 course: hasInfo condition should be the same as in HTML.
parent
5f286924f9
commit
b002c1650c
|
@ -93,9 +93,7 @@ export class CoreCourseModuleComponent implements OnInit, OnDestroy {
|
||||||
this.hasInfo = !!(
|
this.hasInfo = !!(
|
||||||
this.module.description ||
|
this.module.description ||
|
||||||
(this.showActivityDates && this.module.dates && this.module.dates.length) ||
|
(this.showActivityDates && this.module.dates && this.module.dates.length) ||
|
||||||
(this.autoCompletionTodo) ||
|
(this.autoCompletionTodo && !this.showLegacyCompletion) ||
|
||||||
(this.module.visible === 0 && (!this.section || this.section.visible)) ||
|
|
||||||
(this.module.visible !== 0 && this.module.isStealth) ||
|
|
||||||
(this.module.availabilityinfo)
|
(this.module.availabilityinfo)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue