Explorar el Código

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

Johan Ahlen hace 5 años
padre
commit
ebde13a188

+ 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