mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-21 13:38:56 +02:00
make sure websocket is ready (#3718)
This commit is contained in:
parent
e26f5d7f4d
commit
7243804536
@ -473,7 +473,7 @@ class WSClient {
|
||||
}
|
||||
|
||||
hasConn(): boolean {
|
||||
return this.ws !== null || this.client !== null
|
||||
return this.ws?.readyState === 1 || this.client !== null
|
||||
}
|
||||
|
||||
updateHandler(message: WSMessage): void {
|
||||
|
Loading…
Reference in New Issue
Block a user