From ceff8858f4e073e411dbbd0ddc08ab44ef2c3308 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Fri, 29 Mar 2019 11:43:25 +0100 Subject: [PATCH] MOBILE-2915 blog: Always display show my entries toggle --- src/addon/blog/components/entries/entries.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/addon/blog/components/entries/entries.ts b/src/addon/blog/components/entries/entries.ts index 282c6ef87..54f84d30a 100644 --- a/src/addon/blog/components/entries/entries.ts +++ b/src/addon/blog/components/entries/entries.ts @@ -135,9 +135,7 @@ export class AddonBlogEntriesComponent implements OnInit { this.canLoadMore = result.totalentries > this.entries.length; this.pageLoaded++; - this.showMyIssuesToggle = !this.userId && (this.showMyIssuesToggle || this.entries.some((entry) => { - return entry.userid == this.currentUserId; - })); + this.showMyIssuesToggle = !this.userId; return Promise.all(promises); }).catch((message) => {