mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
added details, deathdate, hair color, weight to performers and added details to studios (#1274)
* added details to performers and studios * added deathdate, hair_color and weight to performers * Simplify performer/studio create mutations * Add changelog and recategorised Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -29,7 +29,10 @@ export const PerformerCard: React.FC<IPerformerCardProps> = ({
|
||||
selected,
|
||||
onSelectedChanged,
|
||||
}) => {
|
||||
const age = TextUtils.age(performer.birthdate, ageFromDate);
|
||||
const age = TextUtils.age(
|
||||
performer.birthdate,
|
||||
ageFromDate ?? performer.death_date
|
||||
);
|
||||
const ageString = `${age} years old${ageFromDate ? " in this scene." : "."}`;
|
||||
|
||||
function maybeRenderFavoriteBanner() {
|
||||
|
||||
Reference in New Issue
Block a user