Skip to content

Commit 2a7ca66

Browse files
committed
MOBILE-2915 book: Do not show index if not loaded
1 parent 2659835 commit 2a7ca66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/addon/mod/book/components/index/addon-mod-book-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Buttons to add to the header. -->
22
<core-navbar-buttons end>
3-
<button ion-button icon-only (click)="showToc($event)" [attr.aria-label]="'addon.mod_book.toc' | translate" aria-haspopup="true">
3+
<button ion-button icon-only (click)="showToc($event)" [attr.aria-label]="'addon.mod_book.toc' | translate" aria-haspopup="true" *ngIf="loaded">
44
<ion-icon name="bookmark"></ion-icon>
55
</button>
66
<core-context-menu>

0 commit comments

Comments
 (0)