Преглед на файлове

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