Explorar o código

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

Johan Ahlen %!s(int64=5) %!d(string=hai) anos
pai
achega
c168d73c7e

+ 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',