Merge "fix: Fix lb download"

This commit is contained in:
Zuul 2021-09-03 07:59:45 +00:00 committed by Gerrit Code Review
commit c5a1321e77

View File

@ -34,6 +34,20 @@ export default class LoadBalancerInstance extends Base {
this.list.silent = false; this.list.silent = false;
}; };
fetchDownloadData = async (params) => {
let result = [];
if (this.isFilterByBackend) {
result = await this.downloadStore.fetchListByPageWithFip(
this.updateFetchParamsByPage(params)
);
} else {
result = await this.downloadStore.fetchList(
this.updateFetchParams(params)
);
}
return result;
};
get fetchDataByCurrentProject() { get fetchDataByCurrentProject() {
// add project_id to fetch data; // add project_id to fetch data;
return true; return true;