From 1daa5c57c91340daba13b7a6d6c3a072e557b808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 4 Dec 2019 10:16:40 +0100 Subject: [PATCH] MOBILE-3205 forum: Refresh info after pin or star --- src/addon/mod/forum/components/index/index.ts | 2 +- src/core/contentlinks/classes/module-index-handler.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/addon/mod/forum/components/index/index.ts b/src/addon/mod/forum/components/index/index.ts index 5bb4e2f2d..6795fccac 100644 --- a/src/addon/mod/forum/components/index/index.ts +++ b/src/addon/mod/forum/components/index/index.ts @@ -128,7 +128,7 @@ export class AddonModForumIndexComponent extends CoreCourseModuleMainActivityCom discussion.starred = data.starred; } - this.showLoadingAndFetch(false); + this.showLoadingAndRefresh(false); } } diff --git a/src/core/contentlinks/classes/module-index-handler.ts b/src/core/contentlinks/classes/module-index-handler.ts index 1af14a851..6487d4e29 100644 --- a/src/core/contentlinks/classes/module-index-handler.ts +++ b/src/core/contentlinks/classes/module-index-handler.ts @@ -15,8 +15,6 @@ import { CoreContentLinksAction } from '../providers/delegate'; import { CoreContentLinksHandlerBase } from './base-handler'; import { CoreCourseHelperProvider } from '@core/course/providers/helper'; -import { CoreCourseProvider } from '@core/course/providers/course'; -import { CoreDomUtilsProvider } from '@providers/utils/dom'; /** * Handler to handle URLs pointing to the index of a module.