فهرست منبع

HUE-4867 [metadata] Clicking on browse table show the generic SQL icon

Romain Rigaux 9 سال پیش
والد
کامیت
700381109c
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      desktop/libs/notebook/src/notebook/views.py

+ 1 - 0
desktop/libs/notebook/src/notebook/views.py

@@ -126,6 +126,7 @@ def browse(request, database, table):
       'options_json': json.dumps({
           'languages': [{"name": "%s SQL" % editor_type.title(), "type": editor_type}],
           'mode': 'editor',
+          'editor_type': editor_type
       }),
       'editor_type': editor_type,
   })