Skip to content

Commit

Permalink
updates data check
Browse files Browse the repository at this point in the history
  • Loading branch information
jomurgel committed Sep 21, 2018
1 parent 3e60aff commit 0e55260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/search-edit-component/post-render.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class PostRenderer extends Component {
const selectedResults = this.props.selectedResults;

return (
( null !== selectedResults ) ? (
( undefined !== selectedResults && null !== selectedResults ) ? (
selectedResults.map( post =>
this.displayResultMarkup( post )
)
Expand Down

0 comments on commit 0e55260

Please sign in to comment.