Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
Fixed a bug where there was no pagination on the dashboard and it would take some time to load (#1329)
Joseph Milazzo35ff35f8f851
diff --git a/UI/Web/src/app/dashboard/dashboard.component.ts b/UI/Web/src/app/dashboard/dashboard.component.tsindex b772de46d..e3a6752b5 100644--- a/UI/Web/src/app/dashboard/dashboard.component.ts+++ b/UI/Web/src/app/dashboard/dashboard.component.ts@@ -114,9 +114,9 @@ export class DashboardComponent implements OnInit, OnDestroy {}loadOnDeck() {- let api = this.seriesService.getOnDeck();+ let api = this.seriesService.getOnDeck(0, 1, 30);if (this.libraryId > 0) {- api = this.seriesService.getOnDeck(this.libraryId);+ api = this.seriesService.getOnDeck(this.libraryId, 1, 30);}api.pipe(takeUntil(this.onDestroy)).subscribe((updatedSeries) => {this.inProgress = updatedSeries.result;@@ -124,9 +124,9 @@ export class DashboardComponent implements OnInit, OnDestroy {}loadRecentlyAddedSeries() {- let api = this.seriesService.getRecentlyAdded();+ let api = this.seriesService.getRecentlyAdded(0, 1, 30);if (this.libraryId > 0) {- api = this.seriesService.getRecentlyAdded(this.libraryId);+ api = this.seriesService.getRecentlyAdded(this.libraryId, 1, 30);}api.pipe(takeUntil(this.onDestroy)).subscribe((updatedSeries) => {this.recentlyAddedSeries = updatedSeries.result;