Pārlūkot izejas kodu

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

Enrico Berti 9 gadi atpakaļ
vecāks
revīzija
0c41ae8

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