fix changesets routes for pagination

This commit is contained in:
Eduard Heimbuch
2020-01-10 09:19:09 +01:00
parent 28f1319935
commit 184b6e6e98
4 changed files with 41 additions and 26 deletions

View File

@@ -22,14 +22,14 @@ class RepositoryEntry extends React.Component<Props> {
renderChangesetsLink = (repository: Repository, repositoryLink: string) => {
if (repository._links["changesets"]) {
return <RepositoryEntryLink icon="exchange-alt" to={repositoryLink + "/code/changesets"} />;
return <RepositoryEntryLink icon="exchange-alt" to={repositoryLink + "/code/changesets/"} />;
}
return null;
};
renderSourcesLink = (repository: Repository, repositoryLink: string) => {
if (repository._links["sources"]) {
return <RepositoryEntryLink icon="code" to={repositoryLink + "/code/sources"} />;
return <RepositoryEntryLink icon="code" to={repositoryLink + "/code/sources/"} />;
}
return null;
};