Explorar o código

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

atkach %!s(int64=10) %!d(string=hai) anos
pai
achega
51fd872939
Modificáronse 1 ficheiros con 1 adicións e 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;