浏览代码

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