remove test button from slack config
parent
7f1247f18a
commit
eabea64d4f
|
@ -61,7 +61,7 @@ const SlackConfig = React.createClass({
|
||||||
<RedactedInput
|
<RedactedInput
|
||||||
defaultValue={url}
|
defaultValue={url}
|
||||||
id="url"
|
id="url"
|
||||||
refFunc={r => (this.url = r)}
|
refFunc={r => this.url = r}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -72,20 +72,15 @@ const SlackConfig = React.createClass({
|
||||||
id="slack-channel"
|
id="slack-channel"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="#alerts"
|
placeholder="#alerts"
|
||||||
ref={r => (this.channel = r)}
|
ref={r => this.channel = r}
|
||||||
defaultValue={channel || ''}
|
defaultValue={channel || ''}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="form-group form-group-submit col-xs-12 text-center">
|
<div className="form-group form-group-submit col-xs-12 col-sm-6 col-sm-offset-3">
|
||||||
<a
|
<button className="btn btn-block btn-primary" type="submit">
|
||||||
className="btn btn-warning"
|
Save
|
||||||
onClick={this.handleTest}
|
</button>
|
||||||
disabled={!this.state.testEnabled}
|
|
||||||
>
|
|
||||||
Send Test Message
|
|
||||||
</a>
|
|
||||||
<button className="btn btn-primary" type="submit">Save</button>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue