소스 검색

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

Enrico Berti 8 년 전
부모
커밋
ca9dd93c68
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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) }