Преглед на файлове

HUE-4216 [editor] The editor type title blinks at page load and shows all the different types

Enrico Berti преди 9 години
родител
ревизия
0c41ae8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

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

@@ -278,7 +278,7 @@ ${ hueIcons.symbols() }
 
       <div class="nav-collapse">
         <ul class="nav editor-nav">
-          <li class="currentApp">
+          <li class="currentApp" data-bind="visible: editorMode" style="display: none">
             <!-- ko if: editorMode() -->
               <a data-bind="attr: { href: '${ url('notebook:editor') }?type=' + editorType(), title: editorTypeTitle() + '${ _(' Editor') }' }" style="cursor: pointer">
               <!-- ko if: editorType() == 'impala' -->