Repository: ambari Updated Branches: refs/heads/trunk fca80cbe0 -> 8574cc069
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/8574cc06 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8574cc06 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8574cc06 Branch: refs/heads/trunk Commit: 8574cc06968fd8ddb8d6a640731acaa439dfaf53 Parents: fca80cb Author: Andrii Tkach <atk...@apache.org> Authored: Mon Sep 18 13:50:24 2017 +0300 Committer: Andrii Tkach <atk...@apache.org> Committed: Mon Sep 18 13:51:11 2017 +0300 ---------------------------------------------------------------------- ambari-web/app/utils/hosts.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8574cc06/ambari-web/app/utils/hosts.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/hosts.js b/ambari-web/app/utils/hosts.js index ab95459..9528091 100644 --- a/ambari-web/app/utils/hosts.js +++ b/ambari-web/app/utils/hosts.js @@ -127,6 +127,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);