mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 09:25:43 +01:00
remove unnecessary disabled prop
This commit is contained in:
@@ -74,7 +74,6 @@ class Config extends React.Component<Props> {
|
||||
path={`${url}/roles/create`}
|
||||
render={() => (
|
||||
<CreateRepositoryRole
|
||||
disabled={false}
|
||||
history={this.props.history}
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -18,7 +18,6 @@ import {
|
||||
import type {History} from "history";
|
||||
|
||||
type Props = {
|
||||
disabled: boolean,
|
||||
repositoryRolesLink: string,
|
||||
error?: Error,
|
||||
history: History,
|
||||
@@ -54,7 +53,6 @@ class CreateRepositoryRole extends React.Component<Props> {
|
||||
<Title title={t("repositoryRole.title")} />
|
||||
<Subtitle subtitle={t("repositoryRole.createSubtitle")} />
|
||||
<RepositoryRoleForm
|
||||
disabled={this.props.disabled}
|
||||
submitForm={role => this.createRepositoryRole(role)}
|
||||
/>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user