diff --git a/scm-ui/src/repos/components/list/RepositoryEntry.js b/scm-ui/src/repos/components/list/RepositoryEntry.js index a7ee461ea2..0a7cf0d434 100644 --- a/scm-ui/src/repos/components/list/RepositoryEntry.js +++ b/scm-ui/src/repos/components/list/RepositoryEntry.js @@ -35,6 +35,18 @@ class RepositoryEntry extends React.Component { return `/repo/${repository.namespace}/${repository.name}`; }; + renderBranchesLink = (repository: Repository, repositoryLink: string) => { + if (repository._links["branches"]) { + return ( + + ); + } + return null; + }; + renderChangesetsLink = (repository: Repository, repositoryLink: string) => { if (repository._links["changesets"]) { return ( @@ -102,6 +114,7 @@ class RepositoryEntry extends React.Component {