forked from EVOgeek/Vmeda.Online
		
	MOBILE-3833 course: Fix open site home from module summary
This commit is contained in:
		
							parent
							
								
									5e0a46aa75
								
							
						
					
					
						commit
						da11a08c07
					
				| @ -1266,6 +1266,13 @@ export class CoreCourseProvider { | ||||
|         course: CoreCourseAnyCourseData | { id: number }, | ||||
|         navOptions?: CoreNavigationOptions, | ||||
|     ): Promise<void> { | ||||
|         if (course.id === CoreSites.getCurrentSite()?.getSiteHomeId()) { | ||||
|             // Open site home.
 | ||||
|             await CoreNavigator.navigate('/main/home/site', navOptions); | ||||
| 
 | ||||
|             return; | ||||
|         } | ||||
| 
 | ||||
|         const loading = await CoreDomUtils.showModalLoading(); | ||||
| 
 | ||||
|         // Wait for site plugins to be fetched.
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user