Fix error and success flash messages

pull/2702/head
deniz kusefoglu 2018-01-11 14:46:07 -08:00
parent 47107f6788
commit 0edaaa8423
1 changed files with 2 additions and 2 deletions

View File

@ -97,12 +97,12 @@ class AlertTabs extends Component {
await testAlertOutput(this.props.kapacitor, section, {})
this.props.addFlashMessage({
type: 'success',
text: `Successfully relayed an alert to ${section}.`,
text: `Successfully sent an alert to ${section}.`,
})
} catch (error) {
this.props.addFlashMessage({
type: 'error',
text: `There was an error relaying an alert to ${section}.`,
text: `There was an error sending an alert to ${section}.`,
})
}
}