Remove not implemented config options

This commit is contained in:
René Pfeuffer
2019-03-14 13:42:13 +01:00
parent aec702ff89
commit 1ad2ea61f5
4 changed files with 36 additions and 140 deletions

View File

@@ -9,7 +9,6 @@ type Configuration = {
repositoryDirectory?: string,
gcExpression?: string,
nonFastForwardDisallowed: boolean,
disabled: boolean,
_links: Links
}
@@ -42,7 +41,7 @@ class GitConfigurationForm extends React.Component<Props, State> {
};
render() {
const { gcExpression, nonFastForwardDisallowed, disabled } = this.state;
const { gcExpression, nonFastForwardDisallowed } = this.state;
const { readOnly, t } = this.props;
return (
@@ -61,13 +60,6 @@ class GitConfigurationForm extends React.Component<Props, State> {
onChange={this.handleChange}
disabled={readOnly}
/>
<Checkbox name="disabled"
label={t("scm-git-plugin.config.disabled")}
helpText={t("scm-git-plugin.config.disabledHelpText")}
checked={disabled}
onChange={this.handleChange}
disabled={readOnly}
/>
</>
);
}