Add total count to /support/petAppearances
This commit is contained in:
parent
61636a0067
commit
f223424cfa
1 changed files with 8 additions and 1 deletions
|
@ -89,12 +89,19 @@ function UnlabeledPetAppearancesList() {
|
|||
}
|
||||
|
||||
return (
|
||||
<Wrap>
|
||||
<Wrap align="center">
|
||||
{speciesColorPairs.map(({ species, color }) => (
|
||||
<WrapItem key={`${species.id}-${color.id}`}>
|
||||
<SpeciesColorEditorLink species={species} color={color} />
|
||||
</WrapItem>
|
||||
))}
|
||||
<WrapItem>
|
||||
{speciesColorPairs.length >= 10 && (
|
||||
<Box fontSize="xs" fontStyle="italic" marginLeft="2">
|
||||
(That's {speciesColorPairs.length} total, and fewer by the minute!)
|
||||
</Box>
|
||||
)}
|
||||
</WrapItem>
|
||||
</Wrap>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue