mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 10:41:06 +01:00
disable everything if user has no permission to edit config
This commit is contained in:
@@ -7,7 +7,7 @@ type Props = {
|
||||
proxyExcludes: string[],
|
||||
t: string => string,
|
||||
onChange: (boolean, any, string) => void,
|
||||
disable: boolean
|
||||
disabled: boolean
|
||||
};
|
||||
|
||||
type State = {};
|
||||
@@ -28,7 +28,7 @@ class ProxyExcludesTable extends React.Component<Props, State> {
|
||||
<RemoveProxyExcludeButton
|
||||
proxyExcludeName={excludes}
|
||||
removeProxyExclude={this.removeProxyExclude}
|
||||
disable={this.props.disable}
|
||||
disabled={this.props.disabled}
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user