disable everything if user has no permission to edit config

This commit is contained in:
Maren Süwer
2018-08-16 12:12:59 +02:00
parent fbc3b45831
commit 08328bb95f
17 changed files with 100 additions and 53 deletions

View File

@@ -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>