Browse Source

[AMBARI-24788] Fix async bug in installer config page initial load

Jason Golieb 7 years ago
parent
commit
05ffef5b66
1 changed files with 1 additions and 3 deletions
  1. 1 3
      ambari-web/app/controllers/installer.js

+ 1 - 3
ambari-web/app/controllers/installer.js

@@ -1402,9 +1402,7 @@ App.InstallerController = App.WizardController.extend(App.Persist, {
     
     if (!this.get('stackConfigsLoaded')) {
       // Load stack configs before loading themes
-      App.config.loadClusterConfigsFromStack().always(self.loadServiceConfigs.bind(self)).always(() => {
-        dfd.resolve();
-      });
+      App.config.loadClusterConfigsFromStack().always(() => self.loadServiceConfigs().always(() => dfd.resolve()));
     } else {
       dfd.resolve();
     }