Browse Source

HUE-8945 [useradmin] Fix global_js_constants apps

Jean-Francois Desjeans Gauthier 6 years ago
parent
commit
85dd1064d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/templates/global_js_constants.mako

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

@@ -35,7 +35,7 @@
 <%namespace name="sqlDocIndex" file="/sql_doc_index.mako" />
 <%namespace name="sqlDocIndex" file="/sql_doc_index.mako" />
 (function () {
 (function () {
   <%
   <%
-    apps = _get_apps(user)
+    apps = _get_apps(user)[2]
   %>
   %>
 
 
   window.AUTOCOMPLETE_TIMEOUT = ${ conf.EDITOR_AUTOCOMPLETE_TIMEOUT.get() };
   window.AUTOCOMPLETE_TIMEOUT = ${ conf.EDITOR_AUTOCOMPLETE_TIMEOUT.get() };