change clusterStore.enabledClustersList -> clusterStore.clustersList

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala committed 2020-11-10 12:31:29 +02:00
1 parent bb91569bc4
commit a7595c195f
1 file changed
+2 -2
+2 -2
View File
@@ -38,7 +38,7 @@ export class ClusterManager {
protected onNetworkOffline() { protected onNetworkOffline() {
logger.info("[CLUSTER-MANAGER]: network is offline") logger.info("[CLUSTER-MANAGER]: network is offline")
clusterStore.enabledClustersList.forEach((cluster) => { clusterStore.clustersList.forEach((cluster) => {
if (!cluster.disconnected) { if (!cluster.disconnected) {
cluster.online = false cluster.online = false
cluster.accessible = false cluster.accessible = false
@@ -49,7 +49,7 @@ export class ClusterManager {
protected onNetworkOnline() { protected onNetworkOnline() {
logger.info("[CLUSTER-MANAGER]: network is online") logger.info("[CLUSTER-MANAGER]: network is online")
clusterStore.enabledClustersList.forEach((cluster) => { clusterStore.clustersList.forEach((cluster) => {
if (!cluster.disconnected) { if (!cluster.disconnected) {
cluster.refreshConnectionStatus().catch((e) => e) cluster.refreshConnectionStatus().catch((e) => e)
} }