Эх сурвалжийг харах

HUE-8758 [connector] Trigger the check config on initial page load

As it is on step 1 and the hash is not all the time in the url.
Romain 5 жил өмнө
parent
commit
14fd95bb0e

+ 5 - 1
apps/about/src/about/templates/admin_wizard.mako

@@ -427,8 +427,12 @@ ${ layout.menubar(section='quick_start') }
       }
     });
 
+    if (window.location.hash === '') {
+      checkConfig();
+    }
+
     function showStep(step) {
-      if (window.location.hash === '#step1' || window.location.hash === '') {
+      if (window.location.hash === '#step1') {
         checkConfig();
       }