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 { |     protected eventReceived(data: any): void { | ||||||
|         if (this.glossary && this.glossary.id === data.glossaryId) { |         if (this.glossary && this.glossary.id === data.glossaryId) { | ||||||
|             this.loaded = false; |             this.showLoadingAndRefresh(false); | ||||||
|             this.loadContent(); |  | ||||||
| 
 | 
 | ||||||
|             // Check completion since it could be configured to complete once the user adds a new discussion or replies.
 |             // 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); |             this.courseProvider.checkModuleCompletion(this.courseId, this.module.completionstatus); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user