Skip to content

Commit 9fddd8f

Browse files
MOBILE-4666 lesson-index: Show loading when lesson is downloading
1 parent 4c9b698 commit 9fddd8f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/addons/mod/lesson/components/index/addon-mod-lesson-index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,11 @@
193193
</core-tab>
194194
</core-tabs>
195195

196-
<div collapsible-footer *ngIf="!showLoading" slot="fixed">
196+
<div collapsible-footer *ngIf="!showLoading" slot="fixed" [ngClass]="{ 'ion-margin-bottom': showSpinner }">
197197
<div class="list-item-limited-width" *ngIf="!canViewReports && ((lesson && !preventReasons.length) || retakeToReview)">
198-
<ng-container *ngTemplateOutlet="buttons" />
198+
<core-loading [hideUntil]="!showSpinner">
199+
<ng-container *ngTemplateOutlet="buttons" />
200+
</core-loading>
199201
</div>
200202

201203
<core-course-module-navigation [courseId]="courseId" [currentModuleId]="module.id" />

0 commit comments

Comments
 (0)