Repository: ambari Updated Branches: refs/heads/branch-2.6 7598e1b0d -> 274a2888f
AMBARI-21962 Components Filter has a preselected component from a deleted conf group while adding hosts to a new conf group. Hosts listed are not correct either (Ishan Bhatt via atkach) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/274a2888 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/274a2888 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/274a2888 Branch: refs/heads/branch-2.6 Commit: 274a2888f0805d17889fcf69e7d1d6af6ecb0b77 Parents: 7598e1b Author: Andrii Tkach <[email protected]> Authored: Mon Sep 18 13:50:24 2017 +0300 Committer: Andrii Tkach <[email protected]> Committed: Mon Sep 18 13:50:24 2017 +0300 ---------------------------------------------------------------------- ambari-web/app/utils/hosts.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/274a2888/ambari-web/app/utils/hosts.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/hosts.js b/ambari-web/app/utils/hosts.js index 316c459..bd64753 100644 --- a/ambari-web/app/utils/hosts.js +++ b/ambari-web/app/utils/hosts.js @@ -126,6 +126,7 @@ module.exports = { didInsertElement: function() { var defaultFilterColumn = this.get('filterColumns').findProperty('selected'); + this.get('filterComponents').setEach('selected', false); this.set('filterColumn', defaultFilterColumn); initialHosts.setEach('filtered', true); this.set('parentView.availableHosts', initialHosts);
