Antags in the the Orbit menu now have counters (#21090)

* antagonism

* bundle update
This commit is contained in:
Contrabang
2023-05-22 22:25:30 +02:00
committed by GitHub
parent ac8eb9a046
commit e4e5d5c84e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ export const Orbit = (props, context) => {
{antagonists.length > 0 && (
<Section title="Antagonists">
{sortedAntagonists.map(([name, antags]) => (
<Section key={name} title={name} level={2}>
<Section key={name} title={`${name} - (${antags.length})`} level={2}>
{antags
.filter(searchFor(searchText))
.sort(compareNumberedText)
File diff suppressed because one or more lines are too long