Render branch chosser as own box

This commit is contained in:
René Pfeuffer
2018-10-04 16:09:12 +02:00
parent 7019073b93
commit 8e23a85e7c

View File

@@ -136,14 +136,16 @@ class Changesets extends React.PureComponent<State, Props> {
if (branchNames && branchNames.length > 0) {
return (
<>
<label className="label">
{t("changesets.branchselector-label")}
</label>
<DropDown
options={branchNames}
preselectedOption={branch}
optionSelected={branch => this.branchChanged(branch)}
/>
<div className={"box"}>
<label className="label">
{t("changesets.branchselector-label")}
</label>
<DropDown
options={branchNames}
preselectedOption={branch}
optionSelected={branch => this.branchChanged(branch)}
/>
</div>
<ChangesetList repository={repository} changesets={changesets} />
</>
);