Skip to content

Commit 4967a1d

Browse files
authored
Merge pull request #1818 from crazyserver/MOBILE-2915
MOBILE-2915 book: Do not show index if not loaded
2 parents 9ecf908 + 2a7ca66 commit 4967a1d

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)