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: {
|
componentProps: {
|
||||||
moduleId: this.cmId,
|
moduleId: this.cmId,
|
||||||
chapters: this.chapters,
|
chapters: this.chapters,
|
||||||
selected: visibleChapter,
|
selected: visibleChapter?.id,
|
||||||
courseId: this.courseId,
|
courseId: this.courseId,
|
||||||
book: this.book,
|
book: this.book,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue