Skip to content

Commit

Permalink
fix: SelectRepositories return the incorrect values when has more tha…
Browse files Browse the repository at this point in the history
…n one Repo
  • Loading branch information
novakzaballa committed May 15, 2024
1 parent 2ee6f73 commit 4cbace3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/web/components/RepositoriesSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const RepositoriesSelect: FC<RepositoriesSelectType> = ({
onChange={(v: any) => onChange(v?.value)}
options={repositories?.map((i: GithubRepository) => {
return {
label: `${i.repository_owner} - ${i.repository_name}`,
value: `${i.repository_owner}/${i.repository_name}`,
label: `${i.repository_name} - ${i.repository_owner}`,
value: `${i.repository_name}/${i.repository_owner}`,
}
})}
/>
Expand Down

0 comments on commit 4cbace3

Please sign in to comment.