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

atkach 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 5ef745f  AMBARI-23042 Save/discard button is not found for ranger 
configuration
5ef745f is described below

commit 5ef745f4cd94085053ed04a6a5f43967555a00a2
Author: Andrii Tkach <atk...@apache.org>
AuthorDate: Wed Feb 21 16:58:35 2018 +0200

    AMBARI-23042 Save/discard button is not found for ranger configuration
---
 ambari-web/app/controllers/main/service/info/configs.js | 3 ++-
 1 file changed, 2 insertions(+), 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 4df4555..c0b6b5b 100644
--- a/ambari-web/app/controllers/main/service/info/configs.js
+++ b/ambari-web/app/controllers/main/service/info/configs.js
@@ -112,7 +112,8 @@ App.MainServiceInfoConfigsController = 
Em.Controller.extend(App.AddSecurityConfi
    * @type {App.ServiceConfigVersion}
    */
   selectedVersionRecord: function() {
-    return App.ServiceConfigVersion.find().findProperty('version', 
this.get('selectedVersion'));
+    const id = 
App.serviceConfigVersionsMapper.makeId(this.get('content.serviceName'), 
this.get('selectedVersion'));
+    return App.ServiceConfigVersion.find(id);
   }.property('selectedVersion'),
 
   /**

-- 
To stop receiving notification emails like this one, please contact
atk...@apache.org.

Reply via email to