Browse Source

[editor] Add "Type" text in tooltip

Harshg999 4 years ago
parent
commit
b7a2e56595

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

@@ -921,8 +921,7 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
 <script type="text/html" id="snippet-header-statement-type${ suffix }">
   % if ENABLE_EXTERNAL_STATEMENT.get():
   <!-- ko if: isSqlDialect() -->
-    <span class="editor-header-title">${ _('Type') }</span>
-    <div data-bind="component: { name: 'hue-drop-down', params: { value: statementType, entries: statementTypes, linkTitle: '${ _ko('Statement type') }' } }" style="display: inline-block"></div>
+    <div data-bind="component: { name: 'hue-drop-down', params: { titleName: 'Type', value: statementType, entries: statementTypes, linkTitle: '${ _ko('Statement type') }' } }" style="display: inline-block"></div>
   <!-- /ko -->
   % endif
 </script>