changed horizontal line structure which means that no unnecessary line is displayed if the delete button is missing

This commit is contained in:
Florian Scholdei
2019-04-04 16:56:35 +02:00
parent dcf6dfffcf
commit 6e9af40b44
3 changed files with 2 additions and 2 deletions

View File

@@ -121,6 +121,7 @@ class RepositoryConfig extends React.Component<Props, State> {
if (!(loadingBranches || loadingDefaultBranch)) {
return (
<>
<hr />
<Subtitle subtitle={t("scm-git-plugin.repo-config.title")}/>
{this.renderBranchChangedNotification()}
<form onSubmit={this.submit}>
@@ -133,7 +134,6 @@ class RepositoryConfig extends React.Component<Props, State> {
/>
{ submitButton }
</form>
<hr />
</>
);
} else {

View File

@@ -74,6 +74,7 @@ class DeleteRepo extends React.Component<Props> {
return (
<>
<hr />
<Subtitle subtitle={t("deleteRepo.subtitle")} />
<ErrorNotification error={error} />
<div className="columns">

View File

@@ -70,7 +70,6 @@ class EditRepo extends React.Component<Props> {
this.props.modifyRepo(repo, this.repoModified);
}}
/>
<hr />
<ExtensionPoint
name="repo-config.route"
props={extensionProps}