Merge pull request #2077 from dpalou/MOBILE-3068
MOBILE-3068 glossary: Prefetch categories
This commit is contained in:
		
						commit
						93417ec58c
					
				| @ -179,6 +179,9 @@ export class AddonModGlossaryPrefetchHandler extends CoreCourseActivityPrefetchH | ||||
|                 return Promise.all(promises); | ||||
|             })); | ||||
| 
 | ||||
|             // Get all categories.
 | ||||
|             promises.push(this.glossaryProvider.getAllCategories(glossary.id)); | ||||
| 
 | ||||
|             // Prefetch data for link handlers.
 | ||||
|             promises.push(this.courseProvider.getModuleBasicInfo(module.id, siteId)); | ||||
|             promises.push(this.courseProvider.getModuleBasicInfoByInstance(glossary.id, 'glossary', siteId)); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user