mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-15 19:31:45 +03:00
parent
7d2df26335
commit
d24f208f98
@ -63,11 +63,19 @@ const renderInterfaces = (interfaces => (
|
||||
|
||||
class Settings extends Component {
|
||||
componentDidMount() {
|
||||
const { web, dns } = this.props.config;
|
||||
const {
|
||||
webIp, webPort, dnsIp, dnsPort,
|
||||
} = this.props;
|
||||
|
||||
this.props.validateForm({
|
||||
web,
|
||||
dns,
|
||||
web: {
|
||||
ip: webIp,
|
||||
port: webPort,
|
||||
},
|
||||
dns: {
|
||||
ip: dnsIp,
|
||||
port: dnsPort,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user