瀏覽代碼

[core] Enable link sharing option not propagated to UI

Romain Rigaux 4 年之前
父節點
當前提交
cc6264b920
共有 1 個文件被更改,包括 2 次插入1 次删除
  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()