MOBILE-3814 storagemanager: Fix titles not shown

main
Pau Ferrer Ocaña 2022-02-16 10:14:37 +01:00
parent 6f222fe2ab
commit a834f3c0c8
1 changed files with 4 additions and 4 deletions

View File

@ -10,11 +10,11 @@
</ion-header>
<ion-content>
<core-loading [hideUntil]="loaded">
<div class="ion-padding-horizontal ion-text-wrap" *ngIf="downloadedCourses.length">
<div class="ion-padding-horizontal ion-text-wrap" *ngIf="spaceUsage">
<h2>{{ 'addon.storagemanager.alldata' | translate }}</h2>
</div>
<ion-card>
<ion-item class="ion-text-wrap total" *ngIf="spaceUsage">
<ion-card *ngIf="spaceUsage">
<ion-item class="ion-text-wrap total">
<ion-label>
<p class="item-heading ion-text-wrap">{{ 'addon.storagemanager.totalspaceusage' | translate }}</p>
<ion-badge color="light" *ngIf="spaceUsage.spaceUsage">{{ spaceUsage.spaceUsage | coreBytesToSize }}</ion-badge>
@ -27,7 +27,7 @@
</ion-item>
</ion-card>
<div class="ion-padding-horizontal ion-text-wrap" *ngIf="downloadedCourses.length">
<div class="ion-padding-horizontal ion-text-wrap">
<h2>{{ 'addon.storagemanager.downloadedcourses' | translate }}</h2>
</div>
<ion-card>