Merge pull request #2084 from dpalou/MOBILE-3068
MOBILE-3068 forum: Don't use phantom tab in forum index links
This commit is contained in:
		
						commit
						f4eee3c0e0
					
				| @ -68,7 +68,8 @@ export class AddonModForumIndexLinkHandler extends CoreContentLinksModuleIndexHa | |||||||
|                         forumId = parseInt(params.f, 10); |                         forumId = parseInt(params.f, 10); | ||||||
| 
 | 
 | ||||||
|                     this.courseProvider.getModuleBasicInfoByInstance(forumId, 'forum', siteId).then((module) => { |                     this.courseProvider.getModuleBasicInfoByInstance(forumId, 'forum', siteId).then((module) => { | ||||||
|                         this.courseHelper.navigateToModule(parseInt(module.id, 10), siteId, module.course); |                         this.courseHelper.navigateToModule(parseInt(module.id, 10), siteId, module.course, undefined, | ||||||
|  |                                 undefined, undefined, navCtrl); | ||||||
|                     }).finally(() => { |                     }).finally(() => { | ||||||
|                         // Just in case. In fact we need to dismiss the modal before showing a toast or error message.
 |                         // Just in case. In fact we need to dismiss the modal before showing a toast or error message.
 | ||||||
|                         modal.dismiss(); |                         modal.dismiss(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user