Skip to content

Commit

Permalink
Indicate deleted members (fixes #5945)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haoran Hu committed May 16, 2020
1 parent c1cd86d commit e94e244
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/news/news-list-item.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@ export class NewsListItemComponent implements OnChanges, AfterViewChecked {
shouldShowIndication() {
if (this.shareTarget === this.planetCode) {
this.userListeners.forEach(listener => {
const user_id = listener._id;
const userId = listener._id;
const joinDate = listener.joinDate;
if (this.currentUser._id === user_id && this.currentUser.joinDate === joinDate) {
if (this.currentUser._id === userId && this.currentUser.joinDate === joinDate) {
return true;
}
})
});
return false;
}
return false;
Expand Down

0 comments on commit e94e244

Please sign in to comment.