Try to reconnect non-accessible clusters on activate (#789)

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala authored and GitHub committed 2020-09-02 15:28:02 +03:00
1 parent b77249fbc8
commit 61c3e32a7c
1 file changed
+1 -1
+1 -1
View File
@@ -130,7 +130,7 @@ export class Cluster implements ClusterModel {
if (!this.eventDisposers.length) {
this.bindEvents();
}
if (this.disconnected) {
if (this.disconnected || !this.accessible) {
await this.reconnect();
}
await this.refresh();