mirror of
https://github.com/mattermost/mattermost.git
synced 2026-10-16 07:09:04 +08:00
Merge pull request #1647 from mattermost/PLT-564
PLT-564 fixing error bar
This commit is contained in:
@@ -59,13 +59,14 @@ class SocketStoreClass extends EventEmitter {
|
||||
conn.onopen = () => {
|
||||
if (this.failCount > 0) {
|
||||
console.log('websocket re-established connection'); //eslint-disable-line no-console
|
||||
|
||||
if (ErrorStore.getLastError()) {
|
||||
ErrorStore.storeLastError(null);
|
||||
ErrorStore.emitChange();
|
||||
}
|
||||
}
|
||||
|
||||
this.failCount = 0;
|
||||
if (ErrorStore.getLastError()) {
|
||||
ErrorStore.storeLastError(null);
|
||||
ErrorStore.emitChange();
|
||||
}
|
||||
};
|
||||
|
||||
conn.onclose = () => {
|
||||
|
||||
Reference in New Issue
Block a user