mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 08:25:44 +01:00
cleanup
This commit is contained in:
@@ -51,7 +51,7 @@ type Props = {
|
||||
repository?: Repository;
|
||||
repositoryTypes?: RepositoryType[];
|
||||
namespaceStrategy?: string;
|
||||
loading?: boolean;
|
||||
loading: boolean;
|
||||
indexResources?: any;
|
||||
};
|
||||
|
||||
@@ -193,7 +193,7 @@ const RepositoryForm: FC<Props> = ({
|
||||
<RepositoryInformationForm
|
||||
repository={repo}
|
||||
onChange={setRepo}
|
||||
disabled={!(isModifiable() || createRepository)}
|
||||
disabled={disabled}
|
||||
setValid={contact => setValid({ ...valid, contact })}
|
||||
/>
|
||||
{submitButton()}
|
||||
|
||||
@@ -43,7 +43,7 @@ const SmallButton = styled(Button)`
|
||||
|
||||
const TopLevel = styled(Level)`
|
||||
margin-top: 1.5rem;
|
||||
margin-bottom: -1.5rem !important;
|
||||
margin-bottom: -1.5rem;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
@@ -71,7 +71,7 @@ const RepositoryFormSwitcher: FC<Props> = ({ creationMode }) => {
|
||||
color={isCreateMode() ? "link is-selected" : undefined}
|
||||
link={isImportMode() ? "/repos/create" : undefined}
|
||||
>
|
||||
<MarginIcon name="fa fa-plus" color={isCreateMode() ? "white" : "default"} />{" "}
|
||||
<MarginIcon name="fa fa-plus" color={isCreateMode() ? "white" : "default"} />
|
||||
<p className="is-hidden-mobile is-hidden-tablet-only">{t("repositoryForm.createButton")}</p>
|
||||
</SmallButton>
|
||||
<SmallButton
|
||||
|
||||
Reference in New Issue
Block a user