- client: send set_static_ip: false as default
This commit is contained in:
parent
cc2d953c9d
commit
eb075198c2
|
@ -37,8 +37,9 @@ class Setup extends Component {
|
|||
};
|
||||
|
||||
handleFormChange = debounce((values) => {
|
||||
if (values && values.web.port && values.dns.port) {
|
||||
this.props.checkConfig(values);
|
||||
const { web, dns } = values;
|
||||
if (values && web.port && dns.port) {
|
||||
this.props.checkConfig({ web, dns, set_static_ip: false });
|
||||
}
|
||||
}, DEBOUNCE_TIMEOUT);
|
||||
|
||||
|
|
Loading…
Reference in New Issue