mirror of
https://github.com/stashapp/stash.git
synced 2025-12-08 01:13:09 +01:00
Performer age calculation on images (#3301)
This commit is contained in:
parent
ef622659ff
commit
01d40c1b9e
1 changed files with 5 additions and 1 deletions
|
|
@ -42,7 +42,11 @@ export const ImageDetailPanel: React.FC<IImageDetailProps> = (props) => {
|
||||||
if (props.image.performers.length === 0) return;
|
if (props.image.performers.length === 0) return;
|
||||||
const performers = sortPerformers(props.image.performers);
|
const performers = sortPerformers(props.image.performers);
|
||||||
const cards = performers.map((performer) => (
|
const cards = performers.map((performer) => (
|
||||||
<PerformerCard key={performer.id} performer={performer} />
|
<PerformerCard
|
||||||
|
key={performer.id}
|
||||||
|
performer={performer}
|
||||||
|
ageFromDate={props.image.date ?? undefined}
|
||||||
|
/>
|
||||||
));
|
));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue