mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-06-19 20:19:33 +02:00
fix paging url
This commit is contained in:
@@ -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/`
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user