From ebb6e393cf58cc8fe0b1046fbcfe6c5280abe1d9 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Tue, 7 Feb 2023 12:07:10 +0100 Subject: [PATCH] MOBILE-4069 book: Fix PTR in book index page --- src/addons/mod/book/components/index/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/addons/mod/book/components/index/index.ts b/src/addons/mod/book/components/index/index.ts index 838f154e8..191a698fa 100644 --- a/src/addons/mod/book/components/index/index.ts +++ b/src/addons/mod/book/components/index/index.ts @@ -60,6 +60,13 @@ export class AddonModBookIndexComponent extends CoreCourseModuleMainResourceComp ]); } + /** + * @inheritdoc + */ + protected async invalidateContent(): Promise { + await AddonModBook.invalidateContent(this.module.id, this.courseId); + } + /** * Load book data. *