Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Only show reputation for hashtags shown=true #876

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/redux/sagas/hashtagList-saga.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@
// visitedHashtags is an object
const visitedHashtags = yield select(selectors.visitedHashtags)
const uniqueHashtags = visitedHashtags
hashtagList.forEach(hashtag => {
uniqueHashtags[hashtag.hashtagAddress] = hashtag
})
hashtagList
.filter(hashtag => hashtag.hashtagShown)
.forEach(hashtag => {
uniqueHashtags[hashtag.hashtagAddress] = hashtag
})
const uniqueHashtagList = Object.values(uniqueHashtags)

// Get reputation for all hashtags in the list
Expand Down