Skip to content

Commit

Permalink
Fix "0 scene" instead of "0 scenes" (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
peolic authored May 21, 2022
1 parent 07da73f commit 24c7591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const PerformerCard: FC<{ performer: Performer }> = ({ performer }) => (
)}
<div>
<Icon icon={faVideo} />
{performer.scene_count} scene{performer.scene_count > 1 && "s"}
{performer.scene_count} scene{performer.scene_count !== 1 && "s"}
</div>
</div>
</div>
Expand Down

0 comments on commit 24c7591

Please sign in to comment.