From 60f2561bd6e39bfc0464136c33a8ee5f795719fa Mon Sep 17 00:00:00 2001
From: ACX <8075870+acx10@users.noreply.github.com>
Date: Sat, 7 Mar 2026 13:46:18 -0700
Subject: [PATCH] Fix metadata center dialog mode being ignored on book card
info button (#3218) (#3222)
---
.../book-browser/book-card/book-card.component.html | 4 ++--
.../book-browser/book-card/book-card.component.ts | 7 -------
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/booklore-ui/src/app/features/book/components/book-browser/book-card/book-card.component.html b/booklore-ui/src/app/features/book/components/book-browser/book-card/book-card.component.html
index 980782050..d690bb93f 100644
--- a/booklore-ui/src/app/features/book/components/book-browser/book-card/book-card.component.html
+++ b/booklore-ui/src/app/features/book/components/book-browser/book-card/book-card.component.html
@@ -34,8 +34,8 @@
@if (_isSeriesViewActive) {
} @else {
-
-
+
+
}
@if (!_isSeriesViewActive && hasDigitalFile()) {
diff --git a/booklore-ui/src/app/features/book/components/book-browser/book-card/book-card.component.ts b/booklore-ui/src/app/features/book/components/book-browser/book-card/book-card.component.ts
index bd2738624..54ff36990 100644
--- a/booklore-ui/src/app/features/book/components/book-browser/book-card/book-card.component.ts
+++ b/booklore-ui/src/app/features/book/components/book-browser/book-card/book-card.component.ts
@@ -688,13 +688,6 @@ export class BookCardComponent implements OnInit, OnChanges, OnDestroy {
}
}
- prepareNavigation(book: Book): void {
- const allBookIds = this.bookNavigationService.getAvailableBookIds();
- if (allBookIds.length > 0) {
- this.bookNavigationService.setNavigationContext(allBookIds, book.id);
- }
- }
-
openBookInfo(book: Book): void {
const allBookIds = this.bookNavigationService.getAvailableBookIds();
if (allBookIds.length > 0) {