소스 검색

HUE-9425 [ui] Fix issue with rendering dynamic bundles in the login page

Johan Ahlen 5 년 전
부모
커밋
ed834efc38
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/core/src/desktop/templates/common_header.mako

+ 1 - 1
desktop/core/src/desktop/templates/common_header.mako

@@ -147,7 +147,7 @@ if USE_NEW_EDITOR.get():
   % endif
 
   % for bundle in get_hue_bundles('login' if section == 'login' else 'hue', 'LOGIN' if section == 'login' else 'DEFAULT'):
-    ${ render_bundle(bundle) | n,unicode }
+    ${ render_bundle(bundle, config='LOGIN' if section == 'login' else 'DEFAULT') | n,unicode }
   % endfor
 
   <script src="${ static('desktop/js/bootstrap-tooltip.js') }"></script>