From c6c6c753f02fe1a2109941ea9c71cdfc9bfb20df Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 28 Aug 2019 16:02:45 +0200 Subject: [PATCH] MOBILE-3068 forum: Don't use phantom tab in forum index links --- src/addon/mod/forum/providers/index-link-handler.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/addon/mod/forum/providers/index-link-handler.ts b/src/addon/mod/forum/providers/index-link-handler.ts index b975f449c..2b7b23e7c 100644 --- a/src/addon/mod/forum/providers/index-link-handler.ts +++ b/src/addon/mod/forum/providers/index-link-handler.ts @@ -68,7 +68,8 @@ export class AddonModForumIndexLinkHandler extends CoreContentLinksModuleIndexHa forumId = parseInt(params.f, 10); 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(() => { // Just in case. In fact we need to dismiss the modal before showing a toast or error message. modal.dismiss();