* client: if 0.0.0.0 is selected, then redirect to the current IP

Closes #655
This commit is contained in:
Ildar Kamalov
2019-03-29 16:24:59 +03:00
parent 23ac1726b7
commit 0c973334be
6 changed files with 40 additions and 14 deletions

View File

@@ -6,7 +6,6 @@ import { Trans, withNamespaces } from 'react-i18next';
import flow from 'lodash/flow';
import Controls from './Controls';
import { getWebAddress } from '../../helpers/helpers';
let Submit = props => (
<div className="setup__step">
@@ -20,7 +19,8 @@ let Submit = props => (
</div>
<Controls
openDashboard={props.openDashboard}
address={getWebAddress(props.webIp, props.webPort)}
ip={props.webIp}
port={props.webPort}
/>
</div>
);