From eb075198c2760c576d39b64bb8c283c060aa7a49 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Thu, 30 Jan 2020 18:36:13 +0300 Subject: [PATCH] - client: send set_static_ip: false as default --- client/src/install/Setup/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/install/Setup/index.js b/client/src/install/Setup/index.js index ad179612..03ae76d5 100644 --- a/client/src/install/Setup/index.js +++ b/client/src/install/Setup/index.js @@ -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);