MOBILE-2431 mainmenu: Fix badge of menu items

main
Albert Gasset 2018-06-26 09:00:41 +02:00
parent 82ba32d7f7
commit 83f0df210f
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
<ion-item *ngFor="let handler of handlers" [ngClass]="['core-moremenu-handler', handler.class]" (click)="openHandler(handler)" title="{{ handler.title | translate }}" detail-push> <ion-item *ngFor="let handler of handlers" [ngClass]="['core-moremenu-handler', handler.class]" (click)="openHandler(handler)" title="{{ handler.title | translate }}" detail-push>
<core-icon [name]="handler.icon" item-start></core-icon> <core-icon [name]="handler.icon" item-start></core-icon>
<p>{{ handler.title | translate}}</p> <p>{{ handler.title | translate}}</p>
<ion-badge item-end *ngIf="handler.showBadge" [hidden]="handler.loading || !handler.badge">{{badge}}</ion-badge> <ion-badge item-end *ngIf="handler.showBadge" [hidden]="handler.loading || !handler.badge">{{handler.badge}}</ion-badge>
<ion-spinner item-end *ngIf="handler.showBadge && handler.loading"></ion-spinner> <ion-spinner item-end *ngIf="handler.showBadge && handler.loading"></ion-spinner>
</ion-item> </ion-item>
<div *ngFor="let item of customItems" class="core-moremenu-customitem"> <div *ngFor="let item of customItems" class="core-moremenu-customitem">