Merge pull request #1440 from influxdata/fix/remove-the-button

remove test button from slack config
pull/10616/head
Jade McGough 2017-05-08 18:35:58 -07:00 committed by GitHub
commit 9cd378521d
1 changed files with 6 additions and 11 deletions

View File

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