MOBILE-3320 folder: Fix display subfolder name as title
parent
9a7219a7db
commit
365bd02fb5
|
@ -40,6 +40,8 @@ export class AddonModFolderIndexPage extends CoreCourseModuleMainActivityPage<Ad
|
|||
super.ngOnInit();
|
||||
this.folderInstance = CoreNavigator.getRouteParam<AddonModFolderFolder>('folderInstance');
|
||||
this.subfolder = CoreNavigator.getRouteParam<AddonModFolderFolderFormattedData>('subfolder');
|
||||
|
||||
this.title = this.subfolder?.filename || this.module.name;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue