MOBILE-2915 book: Do not show index if not loaded

main
Pau Ferrer Ocaña 2019-03-20 10:56:50 +01:00
parent 2659835d2b
commit 2a7ca6651c
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<!-- Buttons to add to the header. -->
<core-navbar-buttons end>
<button ion-button icon-only (click)="showToc($event)" [attr.aria-label]="'addon.mod_book.toc' | translate" aria-haspopup="true">
<button ion-button icon-only (click)="showToc($event)" [attr.aria-label]="'addon.mod_book.toc' | translate" aria-haspopup="true" *ngIf="loaded">
<ion-icon name="bookmark"></ion-icon>
</button>
<core-context-menu>