Procházet zdrojové kódy

AMBARI-6754. Resource Manager HA: after enabling RM HA, UI does not display standby and active Resource Managers on Summary tab. (akovalenko)

Aleksandr Kovalenko před 10 roky
rodič
revize
063da67cc2

+ 1 - 0
ambari-web/app/controllers/main/admin/highAvailability/nameNode/step3_controller.js

@@ -26,6 +26,7 @@ App.HighAvailabilityWizardStep3Controller = Em.Controller.extend({
   haConfig: $.extend(true, {}, require('data/HDP2/ha_properties').haConfig),
   once: false,
   isLoaded: false,
+  versionLoaded: true,
 
   clearStep: function () {
     this.get('stepConfigs').clear();

+ 2 - 0
ambari-web/app/controllers/main/admin/highAvailability/resourceManager/step3_controller.js

@@ -23,6 +23,8 @@ App.RMHighAvailabilityWizardStep3Controller = Em.Controller.extend({
 
   selectedService: null,
 
+  versionLoaded: true,
+
   loadStep: function () {
     this.renderConfigs();
   },

+ 1 - 1
ambari-web/app/models/host_component.js

@@ -58,7 +58,7 @@ App.HostComponent = DS.Model.extend({
    */
   isMaster: function () {
     return App.get('components.masters').contains(this.get('componentName'));
-  }.property('componentName'),
+  }.property('componentName', 'App.components.masters'),
 
   /**
    * Determine if component is slave