mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Add Gender Icons to Performers (#2179)
This commit is contained in:
committed by
GitHub
parent
34aea876e8
commit
1714efc92f
@@ -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={
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user