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 (
|
return (
|
||||||
<Wrap>
|
<Wrap align="center">
|
||||||
{speciesColorPairs.map(({ species, color }) => (
|
{speciesColorPairs.map(({ species, color }) => (
|
||||||
<WrapItem key={`${species.id}-${color.id}`}>
|
<WrapItem key={`${species.id}-${color.id}`}>
|
||||||
<SpeciesColorEditorLink species={species} color={color} />
|
<SpeciesColorEditorLink species={species} color={color} />
|
||||||
</WrapItem>
|
</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>
|
</Wrap>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue