fix paging url

This commit is contained in:
Sebastian Sdorra
2018-10-17 10:57:01 +02:00
parent 4cbbc16b6a
commit e841c06934
2 changed files with 3 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ class BranchRoot extends React.Component<Props> {
branchSelected = (branch: Branch) => {
const url = this.matchedUrl();
this.props.history.push(
`${url}/${encodeURIComponent(branch.name)}/changesets`
`${url}/${encodeURIComponent(branch.name)}/changesets/`
);
};

View File

@@ -79,9 +79,9 @@ class Changesets extends React.Component<Props> {
};
renderPaginator = () => {
const { list } = this.props;
const { page, list } = this.props;
if (list) {
return <LinkPaginator collection={list} />;
return <LinkPaginator page={page} collection={list} />;
}
return null;
};