Explorar el Código

AMBARI-7974 Config history versions diff wrong behavior. (atkach)

atkach hace 10 años
padre
commit
51fd872939
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      ambari-web/app/views/common/configs/services_config.js

+ 1 - 1
ambari-web/app/views/common/configs/services_config.js

@@ -352,7 +352,7 @@ App.ServiceConfigsByCategoryView = Ember.View.extend(App.UserPref, {
     var selectedFilters = this.get('parentView.columns').filterProperty('selected');
     var filteredResult = this.get('categoryConfigs')
 
-    if (this.get('state') === 'inDOM') {
+    if (selectedFilters.length > 0 || filter.length > 0 || this.get('state') === 'inDOM') {
       filteredResult = filteredResult.filter(function (config) {
         var passesFilters = true;