فهرست منبع

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();
         }