forked from EVOgeek/Vmeda.Online
		
	MOBILE-4085 course-storage: Update course status in template
This commit is contained in:
		
							parent
							
								
									62f596dd08
								
							
						
					
					
						commit
						5ddf7db897
					
				@ -320,6 +320,7 @@ export class AddonStorageManagerCourseStoragePage implements OnInit, OnDestroy {
 | 
				
			|||||||
                section = this.sections.find((section) => section.modules.some((mod) => mod.id === module.id));
 | 
					                section = this.sections.find((section) => section.modules.some((mod) => mod.id === module.id));
 | 
				
			||||||
                if (section) {
 | 
					                if (section) {
 | 
				
			||||||
                    section.calculatingSize = true;
 | 
					                    section.calculatingSize = true;
 | 
				
			||||||
 | 
					                    this.changeDetectorRef.markForCheck();
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -648,6 +649,7 @@ export class AddonStorageManagerCourseStoragePage implements OnInit, OnDestroy {
 | 
				
			|||||||
        this.prefetchCourseData.icon = statusData.icon;
 | 
					        this.prefetchCourseData.icon = statusData.icon;
 | 
				
			||||||
        this.prefetchCourseData.statusTranslatable = statusData.statusTranslatable;
 | 
					        this.prefetchCourseData.statusTranslatable = statusData.statusTranslatable;
 | 
				
			||||||
        this.prefetchCourseData.loading = statusData.loading;
 | 
					        this.prefetchCourseData.loading = statusData.loading;
 | 
				
			||||||
 | 
					        this.changeDetectorRef.markForCheck();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user