forked from EVOgeek/Vmeda.Online
		
	MOBILE-4270 course: Fix module sizes on refresh
This commit is contained in:
		
							parent
							
								
									11088abdf5
								
							
						
					
					
						commit
						06c6abad36
					
				@ -685,6 +685,7 @@ export class AddonStorageManagerCourseStoragePage implements OnInit, OnDestroy {
 | 
				
			|||||||
                    isGuest: this.isGuest,
 | 
					                    isGuest: this.isGuest,
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
 | 
					            await Promise.all(this.sections.map(section => this.updateModulesSizes(section.modules, section)));
 | 
				
			||||||
            this.changeDetectorRef.markForCheck();
 | 
					            this.changeDetectorRef.markForCheck();
 | 
				
			||||||
        } catch (error) {
 | 
					        } catch (error) {
 | 
				
			||||||
            if (this.isDestroyed) {
 | 
					            if (this.isDestroyed) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user