Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 83bdc2736 -> 38d421561


AMBARI-21691 Config Group filter does not reflect all the config groups in the 
list. (atkach)


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

Branch: refs/heads/branch-2.5
Commit: 38d42156105869e13c8b7f188d3004c541ba2648
Parents: 83bdc27
Author: Andrii Tkach <atk...@apache.org>
Authored: Wed Aug 9 16:05:06 2017 +0300
Committer: Andrii Tkach <atk...@apache.org>
Committed: Wed Aug 9 16:05:06 2017 +0300

----------------------------------------------------------------------
 ambari-web/app/mixins/common/table_server_view_mixin.js    | 2 +-
 ambari-web/app/views/main/dashboard/config_history_view.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/38d42156/ambari-web/app/mixins/common/table_server_view_mixin.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/table_server_view_mixin.js 
b/ambari-web/app/mixins/common/table_server_view_mixin.js
index a4e6db7..9695579 100644
--- a/ambari-web/app/mixins/common/table_server_view_mixin.js
+++ b/ambari-web/app/mixins/common/table_server_view_mixin.js
@@ -58,7 +58,7 @@ App.TableServerViewMixin = Em.Mixin.create({
     return content.sort(function (a, b) {
       return a.get('index') - b.get('index');
     });
-  }.property('filteredContent'),
+  }.property('filteredContent.length'),
 
   /**
    * compute applied filter and run content update from server

http://git-wip-us.apache.org/repos/asf/ambari/blob/38d42156/ambari-web/app/views/main/dashboard/config_history_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/config_history_view.js 
b/ambari-web/app/views/main/dashboard/config_history_view.js
index 0acf556..c9b265b 100644
--- a/ambari-web/app/views/main/dashboard/config_history_view.js
+++ b/ambari-web/app/views/main/dashboard/config_history_view.js
@@ -146,7 +146,7 @@ App.MainConfigHistoryView = 
App.TableView.extend(App.TableServerViewMixin, {
           label: item
         }
       }));
-    }.property('parentView.isInitialRendering'),
+    }.property('parentView.isInitialRendering', 'parentView.pageContent'),
     onChangeValue: function () {
       this.get('parentView').updateFilter(this.get('column'), 
this.get('value'), 'select');
     }

Reply via email to