Browse Source

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

Johan Ahlen 5 years ago
parent
commit
ed834efc38
1 changed files with 1 additions and 1 deletions
  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>