small fixes from PR review to pull request #2757
parent
66f2a48540
commit
70479c48b9
|
@ -89,7 +89,7 @@ class AlertTabs extends Component {
|
||||||
const errorMsg = _.join(_.drop(_.split(error, ': '), 2), ': ')
|
const errorMsg = _.join(_.drop(_.split(error, ': '), 2), ': ')
|
||||||
this.props.addFlashMessage({
|
this.props.addFlashMessage({
|
||||||
type: 'error',
|
type: 'error',
|
||||||
text: `There was an error saving the alert configuration for ${section}. ${errorMsg}`,
|
text: `There was an error saving the alert configuration for ${section}: ${errorMsg}`,
|
||||||
})
|
})
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,6 +76,7 @@ class SMTPConfig extends Component {
|
||||||
<input
|
<input
|
||||||
className="form-control"
|
className="form-control"
|
||||||
id="smtp-to"
|
id="smtp-to"
|
||||||
|
placeholder="email@domain.com"
|
||||||
type="text"
|
type="text"
|
||||||
ref={r => (this.to = r)}
|
ref={r => (this.to = r)}
|
||||||
defaultValue={to || ''}
|
defaultValue={to || ''}
|
||||||
|
|
Loading…
Reference in New Issue