* client: locales and pass object to testUpstream

This commit is contained in:
Ildar Kamalov 2019-03-06 16:35:21 +03:00
parent 5d6c980ac7
commit bf2781d465
4 changed files with 43 additions and 14 deletions
client/src/components/Settings

View file

@ -75,7 +75,7 @@ class Settings extends Component {
</Card>
<Upstream
upstreamDns={dashboard.upstreamDns}
boostrapDns={dashboard.boostrapDns}
bootstrapDns={dashboard.bootstrapDns}
allServers={dashboard.allServers}
setUpstream={this.props.setUpstream}
testUpstream={this.props.testUpstream}
@ -110,7 +110,6 @@ Settings.propTypes = {
toggleSetting: PropTypes.func,
handleUpstreamChange: PropTypes.func,
setUpstream: PropTypes.func,
upstream: PropTypes.string,
t: PropTypes.func,
};