mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Library page resetting (#984)
# Fixed - Fixed: Fixed an issue where the pagination would reset to 1 when refreshing or navigating directly to a page number.
This commit is contained in:
parent
5bf80d8515
commit
0a88502d81
@ -140,7 +140,8 @@ export class LibraryDetailComponent implements OnInit, OnDestroy {
|
||||
|
||||
updateFilter(data: SeriesFilter) {
|
||||
this.filter = data;
|
||||
if (this.pagination !== undefined && this.pagination !== null) {
|
||||
const page = this.getPage();
|
||||
if (page === undefined || page === null) {
|
||||
this.pagination.currentPage = 1;
|
||||
this.onPageChange(this.pagination);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user