Add filter country when click the performer flag (#795)

This commit is contained in:
caustico
2020-09-12 09:55:02 +02:00
committed by GitHub
parent b541322d0a
commit 981b2622a5
3 changed files with 32 additions and 1 deletions

View File

@@ -38,7 +38,9 @@ export const PerformerCard: React.FC<IPerformerCardProps> = ({
<div className="card-section">
<h5 className="text-truncate">{performer.name}</h5>
{age !== 0 ? <div className="text-muted">{ageString}</div> : ""}
<CountryFlag country={performer.country} />
<Link to={NavUtils.makePerformersCountryUrl(performer)}>
<CountryFlag country={performer.country} />
</Link>
<div className="text-muted">
Stars in&nbsp;
<FormattedNumber value={performer.scene_count ?? 0} />