MOBILE-2915 blog: Always display show my entries toggle

main
Dani Palou 2019-03-29 11:43:25 +01:00
parent b16eb29ac0
commit ceff8858f4
1 changed files with 1 additions and 3 deletions

View File

@ -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) => {