소스 검색

HUE-9291 [editor] Fix issue where non streaming results are flagged as streaming in editor v2

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

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

@@ -605,7 +605,7 @@ class ResultGrid extends DisposableComponent {
         dataTable.fnAddData(
           initial && this.data().length ? this.data() : this.lastFetchedRows(),
           undefined,
-          this.streaming,
+          ko.unwrap(this.streaming),
           STREAMING_MAX_ROWS
         );
       } catch (e) {}