Fix a failing test

pull/10616/head
deniz kusefoglu 2017-12-05 15:59:39 -08:00
parent 6282698b40
commit 469514d346
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class PagerDutyConfig extends Component {
const {options} = this.props.config
const {url} = options
const serviceKey = options['service-key']
const refFunc = r => (this.serviceKey = r)
return (
<form onSubmit={this.handleSaveAlert}>
<div className="form-group col-xs-12">
@ -29,7 +29,7 @@ class PagerDutyConfig extends Component {
<RedactedInput
defaultValue={serviceKey || ''}
id="service-key"
refFunc={r => (this.serviceKey = r)}
refFunc={refFunc}
/>
</div>