Преглед на файлове

HUE-7578 [assist] Fetch more entries when scrolling to the end in the S3 and ADLS panels

Johan Ahlen преди 8 години
родител
ревизия
281e0d3
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      desktop/core/src/desktop/static/desktop/js/assist/assistStorageEntry.js

+ 2 - 1
desktop/core/src/desktop/static/desktop/js/assist/assistStorageEntry.js

@@ -229,7 +229,8 @@ var AssistStorageEntry = (function () {
     self.currentPage++;
     self.loadingMore(true);
     self.hasErrors(false);
-    self.apiHelper.fetchHdfsPath({
+
+    self.apiHelper[TYPE_SPECIFICS[self.type].apiHelperFetchFunction]({
       pageSize: PAGE_SIZE,
       page: self.currentPage,
       filter: self.filter().trim() ? self.filter() : undefined,