Browse Source

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

Romain 5 năm trước cách đây
mục cha
commit
7dc21fab35

+ 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>