From d24f208f98c08155282eb3061fd28e2e149e296b Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Sun, 28 Apr 2019 11:43:15 +0300 Subject: [PATCH] - client: fixed values for settings validation Closes #729 --- client/src/install/Setup/Settings.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/client/src/install/Setup/Settings.js b/client/src/install/Setup/Settings.js index f8ff35a2..0eec2536 100644 --- a/client/src/install/Setup/Settings.js +++ b/client/src/install/Setup/Settings.js @@ -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, + }, }); }