+ client: handle EDNS Client Subnet setting
This commit is contained in:
@@ -6,7 +6,6 @@ import Services from './Services';
|
||||
import StatsConfig from './StatsConfig';
|
||||
import LogsConfig from './LogsConfig';
|
||||
import FiltersConfig from './FiltersConfig';
|
||||
import DnsConfig from './DnsConfig';
|
||||
|
||||
import Checkbox from '../ui/Checkbox';
|
||||
import Loading from '../ui/Loading';
|
||||
@@ -40,7 +39,6 @@ class Settings extends Component {
|
||||
this.props.getStatsConfig();
|
||||
this.props.getLogsConfig();
|
||||
this.props.getFilteringStatus();
|
||||
this.props.getDnsConfig();
|
||||
}
|
||||
|
||||
renderSettings = (settings) => {
|
||||
@@ -71,12 +69,10 @@ class Settings extends Component {
|
||||
resetStats,
|
||||
stats,
|
||||
queryLogs,
|
||||
dnsConfig,
|
||||
setLogsConfig,
|
||||
clearLogs,
|
||||
filtering,
|
||||
setFiltersConfig,
|
||||
setDnsConfig,
|
||||
t,
|
||||
} = this.props;
|
||||
|
||||
@@ -106,12 +102,6 @@ class Settings extends Component {
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
<div className="col-md-12">
|
||||
<DnsConfig
|
||||
dnsConfig={dnsConfig}
|
||||
setDnsConfig={setDnsConfig}
|
||||
/>
|
||||
</div>
|
||||
<div className="col-md-12">
|
||||
<LogsConfig
|
||||
enabled={queryLogs.enabled}
|
||||
@@ -154,7 +144,6 @@ Settings.propTypes = {
|
||||
resetStats: PropTypes.func.isRequired,
|
||||
setFiltersConfig: PropTypes.func.isRequired,
|
||||
getFilteringStatus: PropTypes.func.isRequired,
|
||||
getDnsConfig: PropTypes.func.isRequired,
|
||||
t: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user