You've already forked AstralRinth
attempt to safeguard some potential errors on user and collection pages (#5169)
* attempt to safeguard some potential errors on user and collection pages * prepr
This commit is contained in:
@@ -174,12 +174,12 @@
|
||||
<IntlFormatted
|
||||
:message-id="messages.projectsCountLabel"
|
||||
:values="{
|
||||
count: formatCompactNumber(projects.length || 0),
|
||||
count: formatCompactNumber(projects?.length || 0),
|
||||
type: formatMessage(
|
||||
commonProjectTypeSentenceMessages[
|
||||
projectTypes.length === 1 ? projectTypes[0] : 'project'
|
||||
],
|
||||
{ count: projects.length || 0 },
|
||||
{ count: projects?.length || 0 },
|
||||
),
|
||||
}"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user