forked from EVOgeek/Vmeda.Online
		
	MOBILE-3469 course: Fix course format block loading order
This commit is contained in:
		
							parent
							
								
									8ba5b4d48f
								
							
						
					
					
						commit
						b7f4b3e12d
					
				| @ -5,7 +5,7 @@ | ||||
|     </core-context-menu> | ||||
| </core-navbar-buttons> | ||||
| 
 | ||||
| <core-block-course-blocks [courseId]="course.id" [hideBottomBlocks]="selectedSection && selectedSection.id == allSectionsId && canLoadMore" [hideBlocks]="!displayBlocks" [downloadEnabled]="downloadEnabled"> | ||||
| <core-block-course-blocks *ngIf="loaded" [courseId]="course.id" [hideBottomBlocks]="selectedSection && selectedSection.id == allSectionsId && canLoadMore" [hideBlocks]="!displayBlocks" [downloadEnabled]="downloadEnabled"> | ||||
|     <!-- Default course format. --> | ||||
|     <core-dynamic-component [component]="courseFormatComponent" [data]="data"> | ||||
|         <core-loading [hideUntil]="loaded"> | ||||
|  | ||||
| @ -24,7 +24,7 @@ | ||||
|                     </ion-refresher> | ||||
| 
 | ||||
|                     <core-loading [hideUntil]="dataLoaded"> | ||||
|                         <core-course-format [course]="course" [sections]="sections" [initialSectionId]="sectionId" [initialSectionNumber]="sectionNumber" [downloadEnabled]="downloadEnabled" [moduleId]="moduleId" (completionChanged)="onCompletionChange($event)"></core-course-format> | ||||
|                         <core-course-format [course]="course" [sections]="sections" [initialSectionId]="sectionId" [initialSectionNumber]="sectionNumber" [downloadEnabled]="downloadEnabled" [moduleId]="moduleId" (completionChanged)="onCompletionChange($event)" class="core-course-format-{{course.format}}"></core-course-format> | ||||
|                     </core-loading> | ||||
|                 </ion-content> | ||||
|             </ng-template> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user