mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04: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={{
|
values={{
|
||||||
children: (
|
children: (
|
||||||
<Link to={NavUtils.makeChildStudiosUrl(studio)}>
|
<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>
|
</Link>
|
||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user