From 4d844a177c350760a94604a5740797d7e6445b46 Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Mon, 5 Aug 2019 11:32:53 +0100 Subject: [PATCH] MOBILE-3054 Courses: Update section status when switching to "All sections" --- src/core/course/components/format/format.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/course/components/format/format.ts b/src/core/course/components/format/format.ts index b515cf7ac..8455d4487 100644 --- a/src/core/course/components/format/format.ts +++ b/src/core/course/components/format/format.ts @@ -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') {