From 9838d2305d167774928891a78df364dfacc4b576 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Thu, 30 Aug 2018 15:21:48 +0200 Subject: [PATCH] MOBILE-2567 sitehome: Fix site news moving to another section --- src/core/sitehome/components/index/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/sitehome/components/index/index.ts b/src/core/sitehome/components/index/index.ts index b11a585c9..df8452399 100644 --- a/src/core/sitehome/components/index/index.ts +++ b/src/core/sitehome/components/index/index.ts @@ -146,7 +146,7 @@ export class CoreSiteHomeIndexComponent implements OnInit { if (hasNewsItem && this.block && this.block.modules) { // Remove forum activity (news one only) to prevent duplicates. - this.siteHomeProvider.getNewsForum(this.siteHomeId).then((forum) => { + return this.siteHomeProvider.getNewsForum(this.siteHomeId).then((forum) => { // Search the module that belongs to site news. for (let i = 0; i < this.block.modules.length; i++) { const module = this.block.modules[i];