small fixes from PR review to pull request #2757

pull/10616/head
deniz kusefoglu 2018-02-07 15:24:32 -08:00
parent 66f2a48540
commit 70479c48b9
2 changed files with 2 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class AlertTabs extends Component {
const errorMsg = _.join(_.drop(_.split(error, ': '), 2), ': ')
this.props.addFlashMessage({
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
}

View File

@ -76,6 +76,7 @@ class SMTPConfig extends Component {
<input
className="form-control"
id="smtp-to"
placeholder="email@domain.com"
type="text"
ref={r => (this.to = r)}
defaultValue={to || ''}