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.

Fixed a bad index causing card details modal to fail to render (#1229)

Joseph Milazzof8d8483d4d80
diff --git a/UI/Web/src/app/cards/_modals/card-details-modal/card-details-modal.component.html b/UI/Web/src/app/cards/_modals/card-details-modal/card-details-modal.component.html
index 7675106be..b8f8e905e 100644
--- a/UI/Web/src/app/cards/_modals/card-details-modal/card-details-modal.component.html
+++ b/UI/Web/src/app/cards/_modals/card-details-modal/card-details-modal.component.html
@@ -89,8 +89,8 @@
</ng-template>
</li>
- <li [ngbNavItem]="tabs[4]" *ngIf="!tabs[4].disabled">
- <a ngbNavLink>{{tabs[4].title}}</a>
+ <li [ngbNavItem]="tabs[3]" *ngIf="!tabs[3].disabled">
+ <a ngbNavLink>{{tabs[3].title}}</a>
<ng-template ngbNavContent>
<h4 *ngIf="!utilityService.isChapter(data)">{{utilityService.formatChapterName(libraryType) + 's'}}</h4>
<ul class="list-unstyled">