MOBILE-3833 mod: Fix empty availability box in unsupported

main
Dani Palou 2022-04-12 14:25:39 +02:00
parent 56d0cf251d
commit deb3b7a1f9
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
</div>
<!-- Availability info space. -->
<div class="core-module-availabilityinfo core-module-info-box-section" *ngIf="showAvailabilityInfo">
<div class="core-module-availabilityinfo core-module-info-box-section" *ngIf="showAvailabilityInfo && module.availabilityinfo">
<ion-icon name="fas-lock" [attr.aria-label]="'core.restricted' | translate"></ion-icon>
<core-format-text [text]="module.availabilityinfo" contextLevel="module" [contextInstanceId]="module.id" [courseId]="module.course">
</core-format-text>