MOBILE-4081 site-preferences: Split change ngClass usage to avoid undefined class error
parent
e6308c2869
commit
f60ee69b82
|
@ -17,9 +17,9 @@
|
||||||
</ion-refresher>
|
</ion-refresher>
|
||||||
<core-loading [hideUntil]="handlers.loaded">
|
<core-loading [hideUntil]="handlers.loaded">
|
||||||
<ion-list>
|
<ion-list>
|
||||||
<ion-item *ngFor="let handler of handlerItems" [ngClass]="['core-settings-handler', handler.class]"
|
<ion-item *ngFor="let handler of handlerItems" class="core-settings-handler" [ngClass]="handler.class"
|
||||||
[attr.aria-label]="handler.title | translate" (click)="handlers.select(handler)" [button]="!handler.toggle"
|
[attr.aria-label]="handler.title | translate" (click)="!handler.toggle && handlers.select(handler)"
|
||||||
[detail]="!handler.toggle" [attr.aria-current]="handlers.getItemAriaCurrent(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 [name]="handler.icon" slot="start" *ngIf="handler.icon" aria-hidden="true">
|
||||||
</ion-icon>
|
</ion-icon>
|
||||||
<ion-label>
|
<ion-label>
|
||||||
|
|
Loading…
Reference in New Issue