From 365bd02fb5d936b74cdf1d7039284aa040b16703 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 9 Jun 2021 08:22:17 +0200 Subject: [PATCH] MOBILE-3320 folder: Fix display subfolder name as title --- src/addons/mod/folder/pages/index/index.page.ts | 2 ++ 1 file changed, 2 insertions(+) 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; } }