From 56f4daeb68f3699febf2562c96a68a1cdf13fd65 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Thu, 30 Jan 2020 18:55:22 +0300 Subject: [PATCH] - client: remove staticIp from apply config --- client/src/install/Setup/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/install/Setup/index.js b/client/src/install/Setup/index.js index 03ae76d5..943fece9 100644 --- a/client/src/install/Setup/index.js +++ b/client/src/install/Setup/index.js @@ -33,7 +33,8 @@ class Setup extends Component { } handleFormSubmit = (values) => { - this.props.setAllSettings(values); + const { staticIp, ...config } = values; + this.props.setAllSettings(config); }; handleFormChange = debounce((values) => {