Skip to content

Commit ceff885

Browse files
committed
MOBILE-2915 blog: Always display show my entries toggle
1 parent b16eb29 commit ceff885

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/addon/blog/components/entries/entries.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ export class AddonBlogEntriesComponent implements OnInit {
135135
this.canLoadMore = result.totalentries > this.entries.length;
136136
this.pageLoaded++;
137137

138-
this.showMyIssuesToggle = !this.userId && (this.showMyIssuesToggle || this.entries.some((entry) => {
139-
return entry.userid == this.currentUserId;
140-
}));
138+
this.showMyIssuesToggle = !this.userId;
141139

142140
return Promise.all(promises);
143141
}).catch((message) => {

0 commit comments

Comments
 (0)