浏览代码

HUE-7743 [frontend] Add missing import to the editor page

Johan Ahlen 8 年之前
父节点
当前提交
7e915cb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 1 - 0
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -21,6 +21,7 @@ from desktop import conf
 from desktop.lib.i18n import smart_unicode
 from desktop.views import _ko, antixss
 
+from desktop.conf import IS_EMBEDDED
 from metadata.conf import has_optimizer, OPTIMIZER
 from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_BATCH_EXECUTE, ENABLE_EXTERNAL_STATEMENT, ENABLE_PRESENTATION
 %>