MOBILE-3320 ui: Fix ion-label warnings

main
Dani Palou 2021-07-07 08:23:11 +02:00
parent bf5629e075
commit d24600cbec
2 changed files with 10 additions and 9 deletions

View File

@ -164,8 +164,9 @@
<ion-radio slot="end" [value]="1"></ion-radio> <ion-radio slot="end" [value]="1"></ion-radio>
</ion-item> </ion-item>
<ion-item> <ion-item>
<ion-label position="stacked"></ion-label>
<ion-datetime formControlName="timedurationuntil" [max]="maxDate" [min]="minDate" <ion-datetime formControlName="timedurationuntil" [max]="maxDate" [min]="minDate"
[placeholder]="'addon.calendar.durationuntil' | translate" slot="end" [placeholder]="'addon.calendar.durationuntil' | translate"
[displayFormat]="dateFormat" [disabled]="form.controls.duration.value != 1" [displayFormat]="dateFormat" [disabled]="form.controls.duration.value != 1"
display-timezone="utc"> display-timezone="utc">
</ion-datetime> </ion-datetime>

View File

@ -13,15 +13,15 @@
[detail]="!countError && commentsLoaded" [detail]="!countError && commentsLoaded"
(click)="openComments($event)" (click)="openComments($event)"
[disabled]="countError"> [disabled]="countError">
<core-loading [hideUntil]="commentsLoaded" [fullscreen]="false">
<ion-label> <ion-label>
<p *ngIf="!countError" class="item-heading"> <core-loading [hideUntil]="commentsLoaded" [fullscreen]="false">
{{ 'core.comments.commentscount' | translate : {'$a': commentsCount} }} <p *ngIf="!countError" class="item-heading">
</p> {{ 'core.comments.commentscount' | translate : {'$a': commentsCount} }}
<p *ngIf="countError"> </p>
{{ 'core.comments.commentsnotworking' | translate }} <p *ngIf="countError">
</p> {{ 'core.comments.commentsnotworking' | translate }}
</p>
</core-loading>
</ion-label> </ion-label>
</core-loading>
</ion-item> </ion-item>
</ng-container> </ng-container>