MOBILE-2915 blog: Always display show my entries toggle
parent
b16eb29ac0
commit
ceff8858f4
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue