forked from EVOgeek/Vmeda.Online
MOBILE-2915 blog: Always display show my entries toggle
This commit is contained in:
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…
x
Reference in New Issue
Block a user