This commit is contained in:
+1
-1
@@ -202,7 +202,7 @@ export class BookdropFileReviewComponent implements OnInit {
|
||||
return fresh;
|
||||
}
|
||||
});
|
||||
this.totalRecords = response.totalElements;
|
||||
this.totalRecords = response.page.totalElements;
|
||||
this.currentPage = page;
|
||||
this.loading = false;
|
||||
this.syncCurrentPageSelection();
|
||||
|
||||
@@ -51,9 +51,12 @@ export interface BookdropFinalizeResult {
|
||||
|
||||
export interface Page<T> {
|
||||
content: T[];
|
||||
totalElements: number;
|
||||
totalPages: number;
|
||||
number: number;
|
||||
page: {
|
||||
totalElements: number;
|
||||
totalPages: number;
|
||||
number: number;
|
||||
size: number;
|
||||
};
|
||||
}
|
||||
|
||||
export interface PatternExtractRequest {
|
||||
|
||||
Reference in New Issue
Block a user