Merge pull request #2545 from crazyserver/MOBILE-3469
MOBILE-3469 course: Fix course format block loading ordermain
commit
168fbab420
|
@ -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…
Reference in New Issue