mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-03 03:55:51 +01:00
Add space between changeset list and paginator
This commit is contained in:
@@ -123,19 +123,19 @@ class Changesets extends React.PureComponent<State, Props> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
{this.renderTable()}
|
{this.renderList()}
|
||||||
{this.renderPaginator()}
|
{this.renderPaginator()}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
renderTable = () => {
|
renderList = () => {
|
||||||
const branch = this.props.match.params.branch;
|
const branch = this.props.match.params.branch;
|
||||||
const { repository, changesets, branchNames, t } = this.props;
|
const { repository, changesets, branchNames, t } = this.props;
|
||||||
|
|
||||||
if (branchNames && branchNames.length > 0) {
|
if (branchNames && branchNames.length > 0) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<>
|
||||||
<label className="label">
|
<label className="label">
|
||||||
{t("changesets.branchselector-label")}
|
{t("changesets.branchselector-label")}
|
||||||
</label>
|
</label>
|
||||||
@@ -145,7 +145,7 @@ class Changesets extends React.PureComponent<State, Props> {
|
|||||||
optionSelected={branch => this.branchChanged(branch)}
|
optionSelected={branch => this.branchChanged(branch)}
|
||||||
/>
|
/>
|
||||||
<ChangesetList repository={repository} changesets={changesets} />
|
<ChangesetList repository={repository} changesets={changesets} />
|
||||||
</div>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user