We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f54a75f commit 2b912b1Copy full SHA for 2b912b1
webapp/src/components/github_repo_selector/github_repo_selector.jsx
@@ -48,7 +48,7 @@ export default class GithubRepoSelector extends PureComponent {
48
}
49
50
render() {
51
- const repoOptions = this.props.yourRepos.repos.map((item) => ({value: item.full_name, label: item.full_name}));
+ const repoOptions = this.props.yourRepos.repos ? this.props.yourRepos.repos.map((item) => ({value: item.full_name, label: item.full_name})) : [];
52
53
return (
54
<div className={'form-group x3'}>
0 commit comments