소스 검색

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