diff --git a/API/API.csproj b/API/API.csproj
index 8fbc5755d..4eed66f22 100644
--- a/API/API.csproj
+++ b/API/API.csproj
@@ -97,6 +97,7 @@
+
diff --git a/UI/Web/src/app/series-detail/_components/series-detail/series-detail.component.ts b/UI/Web/src/app/series-detail/_components/series-detail/series-detail.component.ts
index 6353664f3..4713e7623 100644
--- a/UI/Web/src/app/series-detail/_components/series-detail/series-detail.component.ts
+++ b/UI/Web/src/app/series-detail/_components/series-detail/series-detail.component.ts
@@ -885,10 +885,6 @@ export class SeriesDetailComponent implements OnInit, AfterContentChecked {
this.cdRef.markForCheck();
}
-
-
-
-
this.isLoading = false;
this.cdRef.markForCheck();
});
@@ -1082,19 +1078,6 @@ export class SeriesDetailComponent implements OnInit, AfterContentChecked {
}
- openVolume(volume: Volume) {
- if (this.bulkSelectionService.hasSelections()) return;
- if (volume.chapters === undefined || volume.chapters?.length === 0) {
- this.toastr.error(this.translocoService.translate('series-detail.no-chapters'));
- return;
- }
-
- this.router.navigate(['library', this.libraryId, 'series', this.seriesId, 'volume', volume.id]);
- return;
-
-
- this.readerService.readVolume(this.libraryId, this.seriesId, volume, false);
- }
openEditChapter(chapter: Chapter) {
const ref = this.modalService.open(EditChapterModalComponent, DefaultModalOptions);
diff --git a/UI/Web/src/app/volume-detail/volume-detail.component.html b/UI/Web/src/app/volume-detail/volume-detail.component.html
index 8ef4f814c..56742bc57 100644
--- a/UI/Web/src/app/volume-detail/volume-detail.component.html
+++ b/UI/Web/src/app/volume-detail/volume-detail.component.html
@@ -170,7 +170,7 @@
[libraryId]="libraryId"
[libraryType]="libraryType"
[actions]="chapterActions"
- (selection)="bulkSelectionService.handleCardSelection('chapter', scroll.viewPortInfo.startIndexWithBuffer + idx, volume.chapters.length, $event)"
+ (selection)="bulkSelectionService.handleCardSelection('chapter', scroll.viewPortInfo.startIndexWithBuffer + idx, volume!.chapters.length, $event)"
[selected]="bulkSelectionService.isCardSelected('chapter', scroll.viewPortInfo.startIndexWithBuffer + idx)" [allowSelection]="true"
>
}