Selaa lähdekoodia

HUE-7579 [frontend] Fix anonymous user render of login page

Enrico Berti 8 vuotta sitten
vanhempi
commit
ca9dd93c68
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      desktop/core/src/desktop/templates/common_header.mako

+ 2 - 0
desktop/core/src/desktop/templates/common_header.mako

@@ -189,7 +189,9 @@ if USE_NEW_EDITOR.get():
   <%namespace name="charting" file="/charting.mako" />
   ${ charting.import_charts() }
 
+  % if user.is_authenticated():
   ${ koComponents.all() }
+  %endif
 
   ${ commonHeaderFooterComponents.header_pollers(user, is_s3_enabled, apps) }