mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-01 11:05:56 +01:00
Render branch chosser as own box
This commit is contained in:
@@ -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} />
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user