Improve copy on flash messages
parent
15cced163d
commit
06e8473645
|
@ -80,13 +80,13 @@ class AlertTabs extends Component {
|
||||||
this.refreshKapacitorConfig(this.props.kapacitor)
|
this.refreshKapacitorConfig(this.props.kapacitor)
|
||||||
this.props.addFlashMessage({
|
this.props.addFlashMessage({
|
||||||
type: 'success',
|
type: 'success',
|
||||||
text: `Alert for ${section} successfully saved`,
|
text: `Alert configuration for ${section} successfully saved.`,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.props.addFlashMessage({
|
this.props.addFlashMessage({
|
||||||
type: 'error',
|
type: 'error',
|
||||||
text: 'There was an error saving the kapacitor config',
|
text: `There was an error saving the alert configuration for ${section}.`,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue