Skip to content

Commit

Permalink
Fix "0 scene" instead of "0 scenes" (stashapp#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
peolic authored and feederbox826 committed Nov 15, 2023
1 parent 705bf1a commit 6243ad0
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 6243ad0

Please sign in to comment.