This commit is contained in:
bakhirev 2024-08-10 01:29:21 +03:00
parent 73b7b611a4
commit b87d79cff9

View file

@ -115,7 +115,6 @@ export class DataLoaderStore implements IDataLoaderStore {
} }
showAll() { showAll() {
if (this.pageNumber === 0 && this.response?.totalPages === 2) return this.loadMore();
const pageSize = this.response?.totalElements || 100; const pageSize = this.response?.totalElements || 100;
return this.fetchData(DataLoaderState.LOADING_ALL, { pageNumber: 0, pageSize }); return this.fetchData(DataLoaderState.LOADING_ALL, { pageNumber: 0, pageSize });
} }