mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-16 11:52:58 +03:00
Merge pull request #208 in DNS/adguard-dns from fix/729 to master
* commit 'd24f208f98c08155282eb3061fd28e2e149e296b': - client: fixed values for settings validation
This commit is contained in:
commit
2cb2b3585f
@ -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