diff --git a/src/core/course/components/format/format.ts b/src/core/course/components/format/format.ts index 37b239a6e..87f516cd1 100644 --- a/src/core/course/components/format/format.ts +++ b/src/core/course/components/format/format.ts @@ -387,12 +387,13 @@ export class CoreCourseFormatComponent implements OnInit, OnChanges, OnDestroy { }, 0); if (modulesLoaded >= CoreCourseFormatComponent.LOAD_MORE_ACTIVITIES) { - this.showSectionId = i; break; } } } + this.showSectionId = i; + this.canLoadMore = i < this.sections.length; if (this.canLoadMore) {