parent
7d2df26335
commit
d24f208f98
|
@ -63,11 +63,19 @@ const renderInterfaces = (interfaces => (
|
||||||
|
|
||||||
class Settings extends Component {
|
class Settings extends Component {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
const { web, dns } = this.props.config;
|
const {
|
||||||
|
webIp, webPort, dnsIp, dnsPort,
|
||||||
|
} = this.props;
|
||||||
|
|
||||||
this.props.validateForm({
|
this.props.validateForm({
|
||||||
web,
|
web: {
|
||||||
dns,
|
ip: webIp,
|
||||||
|
port: webPort,
|
||||||
|
},
|
||||||
|
dns: {
|
||||||
|
ip: dnsIp,
|
||||||
|
port: dnsPort,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue