summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-01-25 20:32:14 -0500
committer=Corey Hulen <corey@hulen.com>2016-01-25 20:32:14 -0500
commit4f8e46ddd554573a4ae26ef7a18616064d6166aa (patch)
tree44d5e1779e44e97b53e7f9d236dce17cbb4b8f70 /web
parent6bb5d98229ef84d957a2dca1466295d30356ec87 (diff)
downloadchat-4f8e46ddd554573a4ae26ef7a18616064d6166aa.tar.gz
chat-4f8e46ddd554573a4ae26ef7a18616064d6166aa.tar.bz2
chat-4f8e46ddd554573a4ae26ef7a18616064d6166aa.zip
Cleaning up
Diffstat (limited to 'web')
-rw-r--r--web/react/components/error_bar.jsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/react/components/error_bar.jsx b/web/react/components/error_bar.jsx
index 279e0c315..3362ab835 100644
--- a/web/react/components/error_bar.jsx
+++ b/web/react/components/error_bar.jsx
@@ -49,7 +49,11 @@ export default class ErrorBar extends React.Component {
componentWillMount() {
if (global.window.mm_config.SendEmailNotifications === 'false') {
- ErrorStore.storeLastError({message: this.props.intl.formatMessage({id: 'error_bar.preview_mode'})});
+ ErrorStore.storeLastError({message: this.props.intl.formatMessage(
+ {
+ id: 'error_bar.preview_mode',
+ defaultMessage: 'Preview Mode: Email notifications have not been configured'
+ })});
this.onErrorChange();
}
}