Stop event propagation on test button click

pull/10616/head
deniz kusefoglu 2018-01-12 11:22:56 -08:00
parent c04e709127
commit afc572a61a
1 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,9 @@ class AlertTabs extends Component {
}
}
handleTestConfig = section => async () => {
handleTestConfig = section => async e => {
e.preventDefault()
try {
await testAlertOutput(this.props.kapacitor, section)
this.props.addFlashMessage({