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