Web Console: Fixed cluster selector state after cluster restart.
@@ -52,6 +52,9 @@ class ConnectionState {
this.clusters = clusters;
+ if (_.isEmpty(this.clusters))
+ this.cluster = null;
+
if (_.isNil(this.cluster))
this.cluster = _.head(clusters);
