diff --git a/src/addons/storagemanager/pages/course-storage/course-storage.ts b/src/addons/storagemanager/pages/course-storage/course-storage.ts index 7ad1d6f52..445e02dfe 100644 --- a/src/addons/storagemanager/pages/course-storage/course-storage.ts +++ b/src/addons/storagemanager/pages/course-storage/course-storage.ts @@ -492,6 +492,11 @@ export class AddonStorageManagerCourseStoragePage implements OnInit, OnDestroy { await this.updateModulesSizes(modules, section); CoreCourseHelper.calculateSectionsStatus(this.sections, this.courseId, false, false); + + // For delete all, reset all section sizes so icons are updated. + if (this.totalSize === 0) { + this.sections.map(section => section.totalSize = 0); + } this.changeDetectorRef.markForCheck(); } }