summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Tkach <atkach@apache.org>2017-08-09 16:05:06 +0300
committerAndrii Tkach <atkach@apache.org>2017-08-09 16:05:06 +0300
commit38d42156105869e13c8b7f188d3004c541ba2648 (patch)
treeb2af094791b52cfdbcbaca2f1760c54889f77fdd
parent83bdc2736d697c4ca898a2eb4c175201977fe074 (diff)
AMBARI-21691 Config Group filter does not reflect all the config groups in the list. (atkach)
-rw-r--r--ambari-web/app/mixins/common/table_server_view_mixin.js2
-rw-r--r--ambari-web/app/views/main/dashboard/config_history_view.js2
2 files changed, 2 insertions, 2 deletions
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 a4e6db76ad..9695579a50 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
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 0acf556b03..c9b265b415 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');
}