Merge pull request #3405 from alfonso-salces/MOBILE-4081

MOBILE-4081 site-preferences: Split change ngClass usage to avoid error
main
Noel De Martin 2022-10-18 12:14:40 +02:00 committed by GitHub
commit 421627e08e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,9 @@
</ion-refresher>
<core-loading [hideUntil]="handlers.loaded">
<ion-list>
<ion-item *ngFor="let handler of handlerItems" [ngClass]="['core-settings-handler', handler.class]"
[attr.aria-label]="handler.title | translate" (click)="handlers.select(handler)" [button]="!handler.toggle"
[detail]="!handler.toggle" [attr.aria-current]="handlers.getItemAriaCurrent(handler)">
<ion-item *ngFor="let handler of handlerItems" class="core-settings-handler" [ngClass]="handler.class"
[attr.aria-label]="handler.title | translate" (click)="!handler.toggle && handlers.select(handler)"
[button]="!handler.toggle" [detail]="!handler.toggle" [attr.aria-current]="handlers.getItemAriaCurrent(handler)">
<ion-icon [name]="handler.icon" slot="start" *ngIf="handler.icon" aria-hidden="true">
</ion-icon>
<ion-label>