mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
remove unsued imports and disable editing if proxy is disabled
This commit is contained in:
@@ -66,8 +66,9 @@ class ProxySettings extends React.Component<Props> {
|
||||
onChange={(isValid, changedValue, name) =>
|
||||
this.props.onChange(isValid, changedValue, name)
|
||||
}
|
||||
disable={!enableProxy}
|
||||
/>
|
||||
<AddProxyExcludeField addProxyExclude={this.addProxyExclude} />
|
||||
<AddProxyExcludeField addProxyExclude={this.addProxyExclude} disable={!enableProxy}/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user