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