MOBILE-3054 Courses: Update section status when switching to "All sections"

main
Mark Johnson 2019-08-05 11:32:53 +01:00
parent d03845caa7
commit 4d844a177c
1 changed files with 1 additions and 0 deletions

View File

@ -329,6 +329,7 @@ export class CoreCourseFormatComponent implements OnInit, OnChanges, OnDestroy {
this.canLoadMore = false;
this.showSectionId = 0;
this.showMoreActivities();
this.courseHelper.calculateSectionsStatus(this.sections, this.course.id, false, false);
}
if (this.moduleId && typeof previousValue == 'undefined') {