diff --git a/src/addons/mod/folder/pages/index/index.page.ts b/src/addons/mod/folder/pages/index/index.page.ts index 7b7f3fce7..8bb594508 100644 --- a/src/addons/mod/folder/pages/index/index.page.ts +++ b/src/addons/mod/folder/pages/index/index.page.ts @@ -40,6 +40,8 @@ export class AddonModFolderIndexPage extends CoreCourseModuleMainActivityPage('folderInstance'); this.subfolder = CoreNavigator.getRouteParam('subfolder'); + + this.title = this.subfolder?.filename || this.module.name; } }