mirror of https://github.com/stashapp/stash.git
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:
parent
294e2090d0
commit
a023a86ca6
|
@ -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>
|
||||
),
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue