MOBILE-3833 book: Fix current chapter not marked in TOC

main
Dani Palou 2022-04-06 08:51:03 +02:00
parent 2cba36d3de
commit 9a724f2b1c
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ export class AddonModBookContentsPage implements OnInit, OnDestroy {
componentProps: {
moduleId: this.cmId,
chapters: this.chapters,
selected: visibleChapter,
selected: visibleChapter?.id,
courseId: this.courseId,
book: this.book,
},