IGNITE-843 Fixed wrong check for top panels.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/a7334db0 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/a7334db0 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/a7334db0 Branch: refs/heads/ignite-843-rc3 Commit: a7334db0a5553e949232ba277a2a5d42d73919e2 Parents: b7567ef Author: Alexey Kuznetsov <[email protected]> Authored: Mon Feb 8 16:33:45 2016 +0700 Committer: Alexey Kuznetsov <[email protected]> Committed: Mon Feb 8 16:33:45 2016 +0700 ---------------------------------------------------------------------- .../control-center-web/src/main/js/controllers/common-module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/a7334db0/modules/control-center-web/src/main/js/controllers/common-module.js ---------------------------------------------------------------------- diff --git a/modules/control-center-web/src/main/js/controllers/common-module.js b/modules/control-center-web/src/main/js/controllers/common-module.js index da6705a..d2625d0 100644 --- a/modules/control-center-web/src/main/js/controllers/common-module.js +++ b/modules/control-center-web/src/main/js/controllers/common-module.js @@ -569,7 +569,7 @@ consoleModule.service('$common', [ if (idx >= 0) { var activePanels = ui.activePanels; - if (!_.includes(ui.topPanels)) + if (!_.includes(ui.topPanels, idx)) ui.expanded = true; if (!activePanels || activePanels.length < 1)
