- client: send set_static_ip: false as default

This commit is contained in:
Ildar Kamalov 2020-01-30 18:36:13 +03:00 committed by Simon Zolin
parent cc2d953c9d
commit eb075198c2
1 changed files with 3 additions and 2 deletions

View File

@ -37,8 +37,9 @@ class Setup extends Component {
}; };
handleFormChange = debounce((values) => { handleFormChange = debounce((values) => {
if (values && values.web.port && values.dns.port) { const { web, dns } = values;
this.props.checkConfig(values); if (values && web.port && dns.port) {
this.props.checkConfig({ web, dns, set_static_ip: false });
} }
}, DEBOUNCE_TIMEOUT); }, DEBOUNCE_TIMEOUT);