Browse Source

[core] Enable link sharing option not propagated to UI

Romain Rigaux 4 years ago
parent
commit
cc6264b920
1 changed files with 2 additions and 1 deletions
  1. 2 1
      desktop/core/src/desktop/templates/global_js_constants.mako

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

@@ -35,7 +35,7 @@
   from metastore.views import has_write_access
   from notebook.conf import ENABLE_NOTEBOOK_2, ENABLE_QUERY_ANALYSIS, ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_SQL_INDEXER, \
       get_ordered_interpreters, SHOW_NOTEBOOKS
-  
+
   if sys.version_info[0] > 2:
     from django.utils.translation import gettext as _
   else:
@@ -120,6 +120,7 @@
   window.AUTO_UPLOAD_OPTIMIZER_STATS = '${ OPTIMIZER.AUTO_UPLOAD_STATS.get() }' === 'True';
 
   window.HAS_GIST = '${ ENABLE_GIST.get() }' === 'True';
+  window.HAS_LINK_SHARING = '${ ENABLE_LINK_SHARING.get() }' === 'True';
   window.HAS_CONNECTORS = '${ has_connectors() }' === 'True';
 
   ## In the past was has_workload_analytics()