You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2018/07/19 14:10:35 UTC

[ambari] branch trunk updated: AMBARI-24308 'Changed properties' filter for configs is displayed even in non-compare mode. (ababiichuk)

This is an automated email from the ASF dual-hosted git repository.

ababiichuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new e53aaf6  AMBARI-24308 'Changed properties' filter for configs is displayed even in non-compare mode. (ababiichuk)
e53aaf6 is described below

commit e53aaf66a651f18fe2e7f4d83a180ec3f726652e
Author: ababiichuk <ab...@hortonworks.com>
AuthorDate: Thu Jul 19 15:05:30 2018 +0300

    AMBARI-24308 'Changed properties' filter for configs is displayed even in non-compare mode. (ababiichuk)
---
 ambari-web/app/controllers/main/service/info/configs.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-web/app/controllers/main/service/info/configs.js b/ambari-web/app/controllers/main/service/info/configs.js
index 564758f..49ec591 100644
--- a/ambari-web/app/controllers/main/service/info/configs.js
+++ b/ambari-web/app/controllers/main/service/info/configs.js
@@ -230,7 +230,7 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.AddSecurityConfi
     var filterColumns = [];
 
     this.get('propertyFilters').forEach(function(filter) {
-      if (this.get('canBeExcluded') && !(Em.isNone(filter.dependentOn) || this.get(filter.dependentOn))) {
+      if (filter.canBeExcluded && !(Em.isNone(filter.dependentOn) || this.get(filter.dependentOn))) {
         return; // exclude column
       }
       filterColumns.push(Ember.Object.create({