From 06c6abad3643f31d70c1c2a419f9facfc7e706f7 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 11 May 2023 14:25:33 +0200 Subject: [PATCH] MOBILE-4270 course: Fix module sizes on refresh --- src/addons/storagemanager/pages/course-storage/course-storage.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/addons/storagemanager/pages/course-storage/course-storage.ts b/src/addons/storagemanager/pages/course-storage/course-storage.ts index 445e02dfe..7cc02bd19 100644 --- a/src/addons/storagemanager/pages/course-storage/course-storage.ts +++ b/src/addons/storagemanager/pages/course-storage/course-storage.ts @@ -685,6 +685,7 @@ export class AddonStorageManagerCourseStoragePage implements OnInit, OnDestroy { isGuest: this.isGuest, }, ); + await Promise.all(this.sections.map(section => this.updateModulesSizes(section.modules, section))); this.changeDetectorRef.markForCheck(); } catch (error) { if (this.isDestroyed) {