Browse Source

AMBARI-6244. Restart icon is present after Service Actions->Restart all button click.(xiwang)

Xi Wang 11 years ago
parent
commit
095d47840e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ambari-web/app/utils/batch_scheduled_requests.js

+ 2 - 2
ambari-web/app/utils/batch_scheduled_requests.js

@@ -76,7 +76,7 @@ module.exports = {
 
     this.getComponentsFromServer({
       services: services,
-      staleConfigs: staleConfigsOnly,
+      staleConfigs: staleConfigsOnly ? staleConfigsOnly : null,
       passiveState: 'OFF',
       displayParams: ['host_components/HostRoles/component_name']
     }, function (data) {
@@ -389,7 +389,7 @@ module.exports = {
           self.getComponentsFromServer({
             components: [hostComponentName],
             displayParams: ['host_components/HostRoles/stale_configs', 'Hosts/maintenance_state', 'host_components/HostRoles/maintenance_state'],
-            staleConfigs: staleConfigsOnly
+            staleConfigs: staleConfigsOnly ? staleConfigsOnly : null
           }, function (data) {
             var wrappedHostComponents = [];
             data.items.forEach(function (host) {