Merge pull request #3405 from alfonso-salces/MOBILE-4081
MOBILE-4081 site-preferences: Split change ngClass usage to avoid errormain
commit
421627e08e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue