Merge pull request #3470 from alfonso-salces/MOBILE-4085
MOBILE-4085 course-storage: Update course status in template
This commit is contained in:
		
						commit
						61f8d8c242
					
				| @ -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(); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user