MM-18176 Fix network indicator stock after re-connect (#3329)
This commit is contained in:
parent
3e0189430b
commit
768bb9625a
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ export default class NetworkIndicator extends PureComponent {
|
|||
}
|
||||
|
||||
if (this.props.isOnline) {
|
||||
if (previousWebsocketStatus === RequestStatus.STARTED && websocketStatus === RequestStatus.SUCCESS) {
|
||||
if (previousWebsocketStatus !== RequestStatus.SUCCESS && websocketStatus === RequestStatus.SUCCESS) {
|
||||
// Show the connected animation only if we had a previous network status
|
||||
this.connected();
|
||||
clearTimeout(this.connectionRetryTimeout);
|
||||
|
|
|
|||
Loading…
Reference in a new issue