forked from CIT/Vmeda.Online
		
	MOBILE-2431 glossary: Fix refresh list when creating entry
This commit is contained in:
		
							parent
							
								
									28e3313a7c
								
							
						
					
					
						commit
						ea3cc3938f
					
				| @ -381,8 +381,7 @@ export class AddonModGlossaryIndexComponent extends CoreCourseModuleMainActivity | ||||
|      */ | ||||
|     protected eventReceived(data: any): void { | ||||
|         if (this.glossary && this.glossary.id === data.glossaryId) { | ||||
|             this.loaded = false; | ||||
|             this.loadContent(); | ||||
|             this.showLoadingAndRefresh(false); | ||||
| 
 | ||||
|             // Check completion since it could be configured to complete once the user adds a new discussion or replies.
 | ||||
|             this.courseProvider.checkModuleCompletion(this.courseId, this.module.completionstatus); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user