Merge pull request #2414 from mattermost/bluebar-fix

Fixing blue bar on iOS
Этот коммит содержится в:
Christopher Speller
2016-03-11 08:50:27 -05:00
родитель 8b6b02143d 3ee2d21813
Коммит 19f28e896d
2 изменённых файлов: 9 добавлений и 9 удалений

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

@@ -61,7 +61,7 @@ export default class Textbox extends React.Component {
onRecievedError() {
const errorCount = ErrorStore.getConnectionErrorCount();
if (errorCount > 0) {
if (errorCount > 1) {
this.setState({connection: 'bad-connection'});
} else {
this.setState({connection: ''});