فهرست منبع

HUE-9293 [editor] Fix issue where additional fetched rows are not rendered after scroll in editor v2

Johan Ahlen 5 سال پیش
والد
کامیت
ebde13a188
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      desktop/core/src/desktop/js/apps/notebook2/components/ko.snippetResults.js

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

@@ -255,7 +255,7 @@ class SnippetResults extends DisposableComponent {
       }
 
       if (refresh) {
-        this.data(executionResult.rows);
+        this.data(executionResult.rows.concat());
       } else if (
         executionResult.lastRows.length &&
         this.data().length !== executionResult.rows.length