fixed sources and changeset view for svn repos

This commit is contained in:
Florian Scholdei
2019-04-20 15:42:35 +02:00
parent ba3557fbb6
commit c7b7b3f73b
3 changed files with 37 additions and 30 deletions

View File

@@ -94,7 +94,7 @@ class Sources extends React.Component<Props> {
if (currentFileIsDirectory) {
return (
<div className="panel">
<div className="panel-heading">{this.renderBranchSelector()}</div>
{this.renderBranchSelector()}
<FileTree
repository={repository}
revision={revision}
@@ -115,14 +115,16 @@ class Sources extends React.Component<Props> {
if (branches) {
return (
<BranchSelector
branches={branches}
selectedBranch={revision}
label={t("changesets.branchSelectorLabel")}
selected={(b: Branch) => {
this.branchSelected(b);
}}
/>
<div className="panel-heading">
<BranchSelector
branches={branches}
selectedBranch={revision}
label={t("changesets.branchSelectorLabel")}
selected={(b: Branch) => {
this.branchSelected(b);
}}
/>
</div>
);
}
return null;