浏览代码

HUE-8993 [editor] Do not propose export result when there is no FS

Romain 5 年之前
父节点
当前提交
7dc21fab35
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      desktop/core/src/desktop/templates/common_notebook_ko_components.mako

+ 2 - 0
desktop/core/src/desktop/templates/common_notebook_ko_components.mako

@@ -216,11 +216,13 @@ from notebook.conf import ENABLE_SQL_INDEXER
           </a>
         </li>
         % endif
+        % if request.fs:
         <li>
           <a class="download" href="javascript:void(0)" data-bind="click: function() { savePath(''); $('#saveResultsModal' + snippet.id()).modal('show'); }" title="${ _('Export the result into a file, an index, a new table...') }">
             <i class="fa fa-fw fa-cloud-upload"></i> ${ _('Export') }
           </a>
         </li>
+        % endif
       </ul>
     </div>