mirror of
https://github.com/bakhirev/assayo.git
synced 2024-11-16 16:21:41 +00:00
update
This commit is contained in:
parent
73b7b611a4
commit
b87d79cff9
|
@ -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 });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue