From 2cba36d3de1a3af76a3e681bcc6e6e8b660b7dbd Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 6 Apr 2022 08:38:09 +0200 Subject: [PATCH 1/2] MOBILE-3833 lesson: Fix header wrong position --- .../components/index/addon-mod-lesson-index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/addons/mod/lesson/components/index/addon-mod-lesson-index.html b/src/addons/mod/lesson/components/index/addon-mod-lesson-index.html index d039f0303..a02bbbc11 100644 --- a/src/addons/mod/lesson/components/index/addon-mod-lesson-index.html +++ b/src/addons/mod/lesson/components/index/addon-mod-lesson-index.html @@ -7,16 +7,16 @@ + + + + + - - - - - From 9a724f2b1c78e9a633f1258f709d785f4d3b2633 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 6 Apr 2022 08:51:03 +0200 Subject: [PATCH 2/2] MOBILE-3833 book: Fix current chapter not marked in TOC --- src/addons/mod/book/pages/contents/contents.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addons/mod/book/pages/contents/contents.ts b/src/addons/mod/book/pages/contents/contents.ts index 1f8ebb2b9..865279a06 100644 --- a/src/addons/mod/book/pages/contents/contents.ts +++ b/src/addons/mod/book/pages/contents/contents.ts @@ -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, },