MOBILE-3833 book: Fix current chapter not marked in TOC
parent
2cba36d3de
commit
9a724f2b1c
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue