mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-05-04 15:02:58 +03:00
* client: locales and pass object to testUpstream
This commit is contained in:
parent
5d6c980ac7
commit
bf2781d465
4 changed files with 43 additions and 14 deletions
client/src/components/Settings
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue