diff options
Diffstat (limited to 'webapp/components/search_results.jsx')
-rw-r--r-- | webapp/components/search_results.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/search_results.jsx b/webapp/components/search_results.jsx index 6244fa85a..1d1627950 100644 --- a/webapp/components/search_results.jsx +++ b/webapp/components/search_results.jsx @@ -284,7 +284,7 @@ export default class SearchResults extends React.Component { let isFlagged = false; if (this.state.flaggedPosts) { - isFlagged = this.state.flaggedPosts.get(post.id) === 'true'; + isFlagged = this.state.flaggedPosts.get(post.id) != null; } const reverseCount = arr.length - idx - 1; |