Merge pull request #3675 from NoelDeMartin/MOBILE-4270
MOBILE-4270 course: Fix module sizes on refreshmain
commit
fa9cbd0315
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue