MOBILE-4270 course: Fix module sizes on refresh

main
Noel De Martin 2023-05-11 14:25:33 +02:00
parent 11088abdf5
commit 06c6abad36
1 changed files with 1 additions and 0 deletions

View File

@ -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) {