Add Gender Icons to Performers (#2179)

This commit is contained in:
kermieisinthehouse
2022-01-03 20:09:03 -08:00
committed by GitHub
parent 34aea876e8
commit 1714efc92f
11 changed files with 88 additions and 9 deletions

View File

@@ -16,6 +16,7 @@ import {
CriterionValue,
} from "src/models/list-filter/criteria/criterion";
import { PopoverCountButton } from "../Shared/PopoverCountButton";
import GenderIcon from "./GenderIcon";
export interface IPerformerCardExtraCriteria {
scenes: Criterion<CriterionValue>[];
@@ -183,6 +184,9 @@ export const PerformerCard: React.FC<IPerformerCardProps> = ({
<GridCard
className="performer-card"
url={`/performers/${performer.id}`}
pretitleIcon={
<GenderIcon className="gender-icon" gender={performer.gender} />
}
title={performer.name ?? ""}
image={
<>