You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2019/03/27 11:33:25 UTC

[ignite] branch master updated: IGNITE-11636 Web console: Fixed cluster switch logic. #6352

This is an automated email from the ASF dual-hosted git repository.

akuznetsov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ca2476  IGNITE-11636 Web console: Fixed cluster switch logic. #6352
6ca2476 is described below

commit 6ca2476f6e481ac80f5942b751087509bd315aa8
Author: Andrey Novikov <an...@apache.org>
AuthorDate: Wed Mar 27 18:31:59 2019 +0700

    IGNITE-11636 Web console: Fixed cluster switch logic. #6352
---
 .../web-console/frontend/app/components/cluster-selector/controller.js  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/web-console/frontend/app/components/cluster-selector/controller.js b/modules/web-console/frontend/app/components/cluster-selector/controller.js
index 98e9043..97dd3b7 100644
--- a/modules/web-console/frontend/app/components/cluster-selector/controller.js
+++ b/modules/web-console/frontend/app/components/cluster-selector/controller.js
@@ -65,7 +65,7 @@ export default class {
     }
 
     change(item) {
-        this.agentMgr.switchCluster(this.cluster)
+        this.agentMgr.switchCluster(item)
             .then(() => this.cluster = item)
             .catch((err) => {
                 if (!(err instanceof CancellationError))