浏览代码

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

Johan Ahlen 8 年之前
父节点
当前提交
281e0d32f1
共有 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,