Prechádzať zdrojové kódy

AMBARI-9318. There is unwanted info on Service Accounts tab (alexantonenko)

Alex Antonenko 10 rokov pred
rodič
commit
cdc7fee387

+ 1 - 1
ambari-web/app/controllers/main/admin/serviceAccounts_controller.js

@@ -77,7 +77,7 @@ App.MainAdminServiceAccountsController = App.MainServiceInfoConfigsController.ex
    */
    */
   createConfigObject: function(serverConfigs, advancedConfigs) {
   createConfigObject: function(serverConfigs, advancedConfigs) {
     var configSet = App.config.mergePreDefinedWithLoaded(serverConfigs, advancedConfigs, this.get('serviceConfigTags'), this.get('selectedService'));
     var configSet = App.config.mergePreDefinedWithLoaded(serverConfigs, advancedConfigs, this.get('serviceConfigTags'), this.get('selectedService'));
-    var miscConfigs = configSet.configs.filterProperty('serviceName', this.get('selectedService')).filterProperty('category', 'Users and Groups').filterProperty('isVisible', true).rejectProperty('displayType', 'password');
+    var miscConfigs = configSet.configs.filterProperty('serviceName', this.get('selectedService')).filterProperty('category', 'Users and Groups').filterProperty('isVisible', true).rejectProperty('displayType', 'password').rejectProperty('displayType', 'checkbox');
 
 
     miscConfigs = App.config.miscConfigVisibleProperty(miscConfigs, App.Service.find().mapProperty('serviceName'));
     miscConfigs = App.config.miscConfigVisibleProperty(miscConfigs, App.Service.find().mapProperty('serviceName'));