mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Fix Studio Pluralization (#5161)
Small bug fix so that if a studio only has 1 child studio then the correct pluralization is used.
This commit is contained in:
@@ -58,7 +58,11 @@ function maybeRenderChildren(studio: GQL.StudioDataFragment) {
|
||||
values={{
|
||||
children: (
|
||||
<Link to={NavUtils.makeChildStudiosUrl(studio)}>
|
||||
{studio.child_studios.length} studios
|
||||
{studio.child_studios.length}
|
||||
<FormattedMessage
|
||||
id="countables.studios"
|
||||
values={{ count: studio.child_studios.length }}
|
||||
/>
|
||||
</Link>
|
||||
),
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user