Skip to content

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.

Book series tab fix (#1012)

Robbie Davis7866d49e6fd3
diff --git a/UI/Web/src/app/series-detail/series-detail.component.ts b/UI/Web/src/app/series-detail/series-detail.component.ts
index b15e04c5f..673c6515b 100644
--- a/UI/Web/src/app/series-detail/series-detail.component.ts
+++ b/UI/Web/src/app/series-detail/series-detail.component.ts
@@ -426,7 +426,9 @@ export class SeriesDetailComponent implements OnInit, OnDestroy {
this.activeTabId = TabID.Storyline;
}
- if (this.hasNonSpecialVolumeChapters || this.hasNonSpecialNonVolumeChapters) {
+ if (this.libraryType == LibraryType.Book && !this.hasSpecials){
+ this.activeTabId = TabID.Volumes;
+ } else if (this.hasNonSpecialVolumeChapters || this.hasNonSpecialNonVolumeChapters) {
this.activeTabId = TabID.Storyline;
} else {
this.activeTabId = TabID.Specials;