remove test button from slack config

pull/1440/head
Jade McGough 2017-05-08 18:32:47 -07:00
parent 7f1247f18a
commit eabea64d4f
1 changed files with 6 additions and 11 deletions

View File

@ -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>
) )