Skip to content

Commit

Permalink
Merge pull request #402 from BinaryStudioAcademy/fix/load-issues-list
Browse files Browse the repository at this point in the history
Fix/load issues list
  • Loading branch information
OlgaGnatenko authored Sep 10, 2019
2 parents 14f6e41 + 72d2f5d commit d367477
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/components/IssuesPullsList/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ class IssuesPullsList extends React.Component {
} = this.state;

const filteredAuthorList = authorList.filter(author => author.username.includes(authorDropdownFilter));
const filteredAssigneeList = assigneeList.filter(assignee => assignee.username.includes(assigneeDropdownFilter));
const filteredAssigneeList = assigneeList.filter(
assignee => assignee && assignee.username && assignee.username.includes(assigneeDropdownFilter)
);

return !loading ? (
<Segment basic>
Expand Down

0 comments on commit d367477

Please sign in to comment.