Paginated entities update
This commit is contained in:
parent
5f0904e6a9
commit
ecb5fd63ac
@ -35,7 +35,11 @@ export class PaginatedEntitiesService<
|
||||
return this._currentConfig;
|
||||
}
|
||||
|
||||
loadPage(options: Options, page = 0, size = 100): Observable<Class[]> {
|
||||
reloadPage(): Observable<Class[]> {
|
||||
return this.loadPage(this._currentConfig.options, this._currentConfig.page, this._currentConfig.pageSize);
|
||||
}
|
||||
|
||||
loadPage(options: Options = {} as Options, page = 0, size = 100): Observable<Class[]> {
|
||||
return super._post<PaginatedResponse<Interface>>({ page, size, options }).pipe(
|
||||
tap(
|
||||
response =>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user