소스 검색

HUE-7312 [core] Fix scroll to column on sample popup

Enrico Berti 8 년 전
부모
커밋
245f2205d3
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      desktop/core/src/desktop/templates/sql_context_popover.mako

+ 1 - 0
desktop/core/src/desktop/templates/sql_context_popover.mako

@@ -635,6 +635,7 @@ from metadata.conf import has_navigator
 
         var scrollPubSub = huePubSub.subscribe('context.popover.scroll.to.column', function (colName) {
           if (typeof self.sample.fetchedData() === 'undefined') {
+            self.activeTab('sample');
             self.sample.fetch(function (data) {
               self.initializeSamplesTable(data);
               window.setTimeout(function () {