소스 검색

HUE-5814 [assist] Fix issue with infinite scrolling in the hdfs assist panel

Johan Åhlén 8 년 전
부모
커밋
8c7926c07d
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

+ 1 - 2
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -4572,9 +4572,8 @@
         }
         lastScrollTop = $container.scrollTop();
 
-        var lastEndIndex = endIndex;
         setStartAndEndFromScrollTop();
-        if (typeof options.fetchMore !== 'undefined' && endIndex !== lastEndIndex && endIndex === allEntries.length - 1) {
+        if (typeof options.fetchMore !== 'undefined' && endIndex === allEntries.length - 1) {
           options.fetchMore();
         }