ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject git commit: AMBARI-5909. Manage Config groups filter by Component names is broken. (jaimin)
Date Wed, 28 May 2014 17:11:55 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 9d5a48baa -> bbab3661b


AMBARI-5909. Manage Config groups filter by Component names is broken. (jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bbab3661
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bbab3661
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bbab3661

Branch: refs/heads/trunk
Commit: bbab3661b464b6a647207444067612fd30f75ddf
Parents: 9d5a48b
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Wed May 28 10:11:28 2014 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Wed May 28 10:11:28 2014 -0700

----------------------------------------------------------------------
 .../controllers/main/service/manage_config_groups_controller.js  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/bbab3661/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
index da26ac3..fa8bfd3 100644
--- a/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
+++ b/ambari-web/app/controllers/main/service/manage_config_groups_controller.js
@@ -253,8 +253,8 @@ App.ManageConfigGroupsController = Em.Controller.extend({
   componentsForFilter: function () {
     return App.StackServiceComponent.find().filterProperty('serviceName', this.get('serviceName')).map(function
(component) {
       return Em.Object.create({
-        displayName: component.display_name,
-        componentName: component.isClient ? 'CLIENT' : component.component_name,
+        displayName: component.get('displayName'),
+        componentName: component.get('isClient') ? 'CLIENT' : component.get('componentName'),
         selected: false
       });
     });


Mime
View raw message