From 372945a80ce637ccdf104cda7b941447e02ec672 Mon Sep 17 00:00:00 2001 From: KennyG Date: Thu, 23 Apr 2026 11:34:34 -0400 Subject: [PATCH] Restore full performer card for ID popovers. Use full PerformerCard in PerformerPopover ID mode so favorites and card button overlays render again, while keeping previewData mode for scraped/tagger previews. Made-with: Cursor --- ui/v2.5/src/components/Performers/PerformerPopover.tsx | 5 ++++- .../src/components/Performers/PerformerPreviewCard.tsx | 8 ++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ui/v2.5/src/components/Performers/PerformerPopover.tsx b/ui/v2.5/src/components/Performers/PerformerPopover.tsx index 219e98371..287900b09 100644 --- a/ui/v2.5/src/components/Performers/PerformerPopover.tsx +++ b/ui/v2.5/src/components/Performers/PerformerPopover.tsx @@ -6,7 +6,10 @@ import { useFindPerformer } from "../../core/StashService"; import { useConfigurationContext } from "../../hooks/Config"; import { Placement } from "react-bootstrap/esm/Overlay"; import { PerformerCard } from "./PerformerCard"; -import { IPerformerPreviewData, PerformerPreviewCard } from "./PerformerPreviewCard"; +import { + IPerformerPreviewData, + PerformerPreviewCard, +} from "./PerformerPreviewCard"; interface IPeromerPopoverCardProps { id?: string; diff --git a/ui/v2.5/src/components/Performers/PerformerPreviewCard.tsx b/ui/v2.5/src/components/Performers/PerformerPreviewCard.tsx index b345f6d15..cecd5534e 100644 --- a/ui/v2.5/src/components/Performers/PerformerPreviewCard.tsx +++ b/ui/v2.5/src/components/Performers/PerformerPreviewCard.tsx @@ -41,10 +41,14 @@ export const PerformerPreviewCard = ({ {name} {disambiguation && ( - {` (${disambiguation})`} + + {` (${disambiguation})`} + )} - {ageString ?
{ageString}
: null} + {ageString ? ( +
{ageString}
+ ) : null}