MOBILE-3833 mod: Fix empty availability box in unsupported
parent
56d0cf251d
commit
deb3b7a1f9
|
@ -34,7 +34,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Availability info space. -->
|
<!-- 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>
|
<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 [text]="module.availabilityinfo" contextLevel="module" [contextInstanceId]="module.id" [courseId]="module.course">
|
||||||
</core-format-text>
|
</core-format-text>
|
||||||
|
|
Loading…
Reference in New Issue