mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
comma-delimit multiple maintainers in table
This commit is contained in:
parent
1a2a70db4a
commit
756922f321
1 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ const Filter = (props: any, maintainers: IMaintainer[]) =>
|
|||
const Cell = (maintainerIds: number[], maintainers: IMaintainer[]) =>
|
||||
maintainerIds
|
||||
? <div className="fl-tag-container">
|
||||
{maintainers.filter((m: IMaintainer) => maintainerIds.indexOf(m.id) > -1)
|
||||
.map((m: IMaintainer, i: number) => <span key={i}>{m.name}</span>)}
|
||||
{maintainers.filter((m: IMaintainer) => maintainerIds.indexOf(m.id) > -1).map((m: IMaintainer) => m.name)
|
||||
.join(", ")}
|
||||
</div>
|
||||
: null;
|
||||
Loading…
Reference in a new issue