mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
5fca7674db
commit
bc8ced6be9
1 changed files with 4 additions and 1 deletions
|
|
@ -36,7 +36,10 @@ const Filter = (props: any, maintainers: IMaintainer[]) =>
|
|||
<option value="any">Any</option>
|
||||
{maintainers.length > 0
|
||||
? maintainers.sort((a, b) => a.name.localeCompare(b.name))
|
||||
.map((m: IMaintainer, i: number) => <option value={m.id} key={i}>{m.name}</option>)
|
||||
.map((m: IMaintainer, i: number) =>
|
||||
<option value={m.id} key={i}>
|
||||
{m.name} ({m.filterListIds ? m.filterListIds.length : 0})
|
||||
</option>)
|
||||
: null}
|
||||
</select>;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue