Browse Source

AMBARI-9395 Ambari Web UI changes required to support Ranger Installation. (small fix) (ababiichuk)

aBabiichuk 10 years ago
parent
commit
a16e37ee90
1 changed files with 3 additions and 0 deletions
  1. 3 0
      ambari-web/app/models/service_config.js

+ 3 - 0
ambari-web/app/models/service_config.js

@@ -604,6 +604,9 @@ App.ServiceConfigProperty = Em.Object.extend({
         var rangerAdminHost = masterComponentHostsInDB.findProperty('component', 'RANGER_ADMIN');
         if(rangerAdminHost) {
           this.set('value', rangerAdminHost.hostName);
+        } else {
+          this.set('isVisible', 'false');
+          this.set('isRequired', 'false');
         }
         break;
     }