Add nickname field to SlackConfig form
parent
362a665d50
commit
f79a45e2f1
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue