Merge pull request #4188 from alfonso-salces/MOBILE-4666

MOBILE-4666 lesson-index: Show loading when lesson is downloading
main
Dani Palou 2024-09-27 08:59:34 +02:00 committed by GitHub
commit 9ee4968641
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -200,9 +200,11 @@
</core-tab> </core-tab>
</core-tabs> </core-tabs>
<div collapsible-footer *ngIf="!showLoading" slot="fixed"> <div collapsible-footer *ngIf="!showLoading" slot="fixed" [ngClass]="{ 'ion-margin-bottom': showSpinner }">
<div class="list-item-limited-width" *ngIf="!canViewReports && ((lesson && !preventReasons.length) || retakeToReview)"> <div class="list-item-limited-width" *ngIf="!canViewReports && ((lesson && !preventReasons.length) || retakeToReview)">
<ng-container *ngTemplateOutlet="buttons" /> <core-loading [hideUntil]="!showSpinner">
<ng-container *ngTemplateOutlet="buttons" />
</core-loading>
</div> </div>
<core-course-module-navigation [courseId]="courseId" [currentModuleId]="module.id" /> <core-course-module-navigation [courseId]="courseId" [currentModuleId]="module.id" />