소스 검색

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,
   })