Pārlūkot izejas kodu

HUE-3312 [editor] Generic SQL icon instead of Hive for postgres, jdbc.. snippets

Romain Rigaux 9 gadi atpakaļ
vecāks
revīzija
30646b45ca

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

@@ -228,9 +228,12 @@ ${ require.config() }
               % elif editor_type == 'pig':
                 <img src="${ static('pig/art/icon_pig_48.png') }" class="app-icon" />
                 Pig
-              % else:
+              % elif editor_type == 'beeswax':
                 <img src="${ static('beeswax/art/icon_beeswax_48.png') }" class="app-icon" />
                 Hive
+              % else:
+                <img src="${ static('rdbms/art/icon_rdbms_48.png') }" class="app-icon" />
+                SQL
               % endif
               </a>
             % else: