MOBILE-4085 course-storage: Update course status in template

main
Alfonso Salces 2022-11-24 12:31:00 +01:00
parent 62f596dd08
commit 5ddf7db897
1 changed files with 2 additions and 0 deletions

View File

@ -320,6 +320,7 @@ export class AddonStorageManagerCourseStoragePage implements OnInit, OnDestroy {
section = this.sections.find((section) => section.modules.some((mod) => mod.id === module.id));
if (section) {
section.calculatingSize = true;
this.changeDetectorRef.markForCheck();
}
}
@ -648,6 +649,7 @@ export class AddonStorageManagerCourseStoragePage implements OnInit, OnDestroy {
this.prefetchCourseData.icon = statusData.icon;
this.prefetchCourseData.statusTranslatable = statusData.statusTranslatable;
this.prefetchCourseData.loading = statusData.loading;
this.changeDetectorRef.markForCheck();
}
/**