Этот коммит содержится в:
=Corey Hulen
2016-01-25 20:32:14 -05:00
родитель 6bb5d98229
Коммит 4f8e46ddd5

Просмотреть файл

@@ -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();
}
}