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.