Add nickname field to SlackConfig form

pull/10616/head
Iris Scholten 2018-05-08 16:10:38 -07:00
parent 362a665d50
commit f79a45e2f1
1 changed files with 12 additions and 0 deletions

View File

@ -47,6 +47,18 @@ class SlackConfig extends PureComponent<Props, State> {
return (
<form onSubmit={this.handleSubmit}>
<div className="form-group col-xs-12">
<label htmlFor="nickname">Nickname this Configuration</label>
<input
className="form-control"
id="nickname"
type="text"
placeholder="Optional unless multiple Slack configurations exist"
// ref={r => (this.channel = r)}
defaultValue={channel || ''}
onChange={this.disableTest}
/>
</div>
<div className="form-group col-xs-12">
<label htmlFor="slack-url">
Slack Webhook URL (