MOBILE-2567 sitehome: Fix site news moving to another section

main
Dani Palou 2018-08-30 15:21:48 +02:00
parent 0c436820bb
commit 9838d2305d
1 changed files with 1 additions and 1 deletions

View File

@ -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];