소스 검색

HUE-9291 [editor] Disable result search for streaming data

Johan Ahlen 5 년 전
부모
커밋
c168d73c7e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      desktop/core/src/desktop/js/apps/notebook2/components/resultGrid/ko.resultGrid.js

+ 2 - 0
desktop/core/src/desktop/js/apps/notebook2/components/resultGrid/ko.resultGrid.js

@@ -44,11 +44,13 @@ const TEMPLATE = `
     </button>
   </div>
 
+  <!-- ko ifnot: streaming -->
   <div class="btn-group">
     <button class="btn btn-editor btn-mini disable-feedback" data-bind="click: showSearch.bind($data), css: { 'disabled': !data().length }">
       <i class="fa fa-search"></i> ${ I18n('Search') }
     </button>
   </div>
+  <!-- /ko -->
 
   <!-- ko component: {
     name: 'result-download-actions',