Merge pull request #1818 from crazyserver/MOBILE-2915

MOBILE-2915 book: Do not show index if not loaded
main
Juan Leyva 2019-03-22 09:33:41 +01:00 committed by GitHub
commit 4967a1dd3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>