Skip to content

Commit

Permalink
Repository name on commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioNtV committed Nov 22, 2020
1 parent 41eea23 commit b982c3a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/src/pages/Profile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,9 @@ const Profile: React.FC = () => {
isLoading={loadingCommits}
items={commits}
mapItem={item => {
const repositoryName = item.repository
? item.repository.name
: 'Repositório indisponível';
const repositoryName = item.repository_name ||
'Repositório indisponível';


return {
label: repositoryName,
subLabel: item.message,
Expand Down

0 comments on commit b982c3a

Please sign in to comment.