Add list of upstream servers

Closes #344
This commit is contained in:
Ildar Kamalov
2018-09-26 18:38:06 +03:00
parent 3afd8fccc7
commit 2c72035000
5 changed files with 24 additions and 16 deletions

View File

@@ -34,8 +34,8 @@ export default class Upstream extends Component {
<div className="col">
<form>
<textarea
className="form-control"
value={this.props.upstream}
className="form-control form-control--textarea"
value={this.props.upstreamDns}
onChange={this.handleChange}
/>
<div className="card-actions">
@@ -63,7 +63,7 @@ export default class Upstream extends Component {
}
Upstream.propTypes = {
upstream: PropTypes.string,
upstreamDns: PropTypes.string,
processingTestUpstream: PropTypes.bool,
handleUpstreamChange: PropTypes.func,
handleUpstreamSubmit: PropTypes.func,